1
0
Fork 0

Do not exit unclean if there is no origin

This commit is contained in:
Knut Ahlers 2016-10-28 02:01:58 +02:00
parent 2a3e4f2aac
commit 5c3b68d7eb
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -20,7 +20,7 @@ def main():
repo = [x.split()[1] for x in subprocess.check_output(['git', 'remote', '-v']).split('\n') if re.match('origin.*\(push\)', x)][0]
except:
print 'Could not find origin, not setting email.'
return 1
return 0
if os.path.isfile(CONFIG):
combinations = json.loads(open(CONFIG).read())