This repository was archived by the owner on Nov 15, 2024. It is now read-only.
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):
406406 sys .stderr .write ("executing %s\n " % str (cmd ))
407407 retcode = subprocess .call (cmd , shell = expand )
408408 if retcode and not ignore_error :
409- raise CalledProcessError (retcode , cmd )
409+ raise subprocess . CalledProcessError (retcode , cmd )
410410
411411 return retcode
412412
@@ -416,7 +416,7 @@ def p4_system(cmd):
416416 expand = not isinstance (real_cmd , list )
417417 retcode = subprocess .call (real_cmd , shell = expand )
418418 if retcode :
419- raise CalledProcessError (retcode , real_cmd )
419+ raise subprocess . CalledProcessError (retcode , real_cmd )
420420
421421def die_bad_access (s ):
422422 die ("failure accessing depot: {0}" .format (s .rstrip ()))
@@ -4110,7 +4110,7 @@ def run(self, args):
41104110 init_cmd .append ("--bare" )
41114111 retcode = subprocess .call (init_cmd )
41124112 if retcode :
4113- raise CalledProcessError (retcode , init_cmd )
4113+ raise subprocess . CalledProcessError (retcode , init_cmd )
41144114
41154115 if not P4Sync .run (self , depotPaths ):
41164116 return False
You can’t perform that action at this time.
0 commit comments