Author: degenaro Date: Wed May 29 11:58:16 2019 New Revision: 1860332 URL: http://svn.apache.org/viewvc?rev=1860332&view=rev Log: UIMA-6003 DUCC start_sim fails to create a pids file
Modified: uima/uima-ducc/trunk/src/main/scripts/properties.py Modified: uima/uima-ducc/trunk/src/main/scripts/properties.py URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/src/main/scripts/properties.py?rev=1860332&r1=1860331&r2=1860332&view=diff ============================================================================== --- uima/uima-ducc/trunk/src/main/scripts/properties.py (original) +++ uima/uima-ducc/trunk/src/main/scripts/properties.py Wed May 29 11:58:16 2019 @@ -219,7 +219,7 @@ class Properties: # def _makedirs(self, path): try: - dir_path = path.rsplit('/',1)[0] + dir_path = os.path.dirpath(path) os.makedirs(dir_path) except: pass