[projects/git-slug: 133/170] Always initialize local repository in init command
glen
glen at pld-linux.org
Mon Sep 21 21:49:59 CEST 2015
commit e625b41c1f5d1b396031dc2e1cd49dd0083ec960
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Thu Jul 5 14:26:36 2012 +0100
Always initialize local repository in init command
slug.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/slug.py b/slug.py
index d4154e4..20ac5ea 100755
--- a/slug.py
+++ b/slug.py
@@ -74,8 +74,7 @@ def initpackage(name, options):
return repo
def createpackage(name, options):
- if subprocess.Popen(['ssh', GITLOGIN + GITSERVER, 'create', name]).wait():
- sys.exit(1)
+ subprocess.Popen(['ssh', GITLOGIN + GITSERVER, 'create', name]).wait()
initpackage(name, options)
def create_packages(options):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5
More information about the pld-cvs-commit
mailing list