File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ def system(cmd, ignore_error=False):
406
406
sys .stderr .write ("executing %s\n " % str (cmd ))
407
407
retcode = subprocess .call (cmd , shell = expand )
408
408
if retcode and not ignore_error :
409
- raise CalledProcessError (retcode , cmd )
409
+ raise subprocess . CalledProcessError (retcode , cmd )
410
410
411
411
return retcode
412
412
@@ -416,7 +416,7 @@ def p4_system(cmd):
416
416
expand = not isinstance (real_cmd , list )
417
417
retcode = subprocess .call (real_cmd , shell = expand )
418
418
if retcode :
419
- raise CalledProcessError (retcode , real_cmd )
419
+ raise subprocess . CalledProcessError (retcode , real_cmd )
420
420
421
421
def die_bad_access (s ):
422
422
die ("failure accessing depot: {0}" .format (s .rstrip ()))
@@ -4110,7 +4110,7 @@ def run(self, args):
4110
4110
init_cmd .append ("--bare" )
4111
4111
retcode = subprocess .call (init_cmd )
4112
4112
if retcode :
4113
- raise CalledProcessError (retcode , init_cmd )
4113
+ raise subprocess . CalledProcessError (retcode , init_cmd )
4114
4114
4115
4115
if not P4Sync .run (self , depotPaths ):
4116
4116
return False
You can’t perform that action at this time.
0 commit comments