Explorar o código

git-dumper fix

Roman Hergenreder %!s(int64=3) %!d(string=hai) anos
pai
achega
0b1c78ab56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      git-dumper.py

+ 1 - 1
git-dumper.py

@@ -548,8 +548,8 @@ if __name__ == '__main__':
     urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
 
     # fetch everything
-    code = fetch_git(args.url, args.directory, args.jobs, args.retry, args.timeout)
     path = os.path.realpath(args.directory)
+    code = fetch_git(args.url, args.directory, args.jobs, args.retry, args.timeout)
     if not os.listdir(path):
         os.rmdir(path)