Removed fake if causing pull to fail
authorFrederic Massart <fred@moodle.com>
Fri, 1 Mar 2013 01:25:51 +0000 (09:25 +0800)
committerFrederic Massart <fred@moodle.com>
Fri, 1 Mar 2013 01:25:51 +0000 (09:25 +0800)
moodle-pull.py

index 4c29c16..803e0c3 100755 (executable)
@@ -75,7 +75,7 @@ remoteUrl = issueInfo.get('named').get(C.get('tracker.fieldnames.repositoryurl')
 remoteBranch = issueInfo.get('named').get(C.get('tracker.fieldnames.%s.branch' % (branch)))
 patchesToApply = []
 
-if True or not remoteUrl or not remoteBranch:
+if not remoteUrl or not remoteBranch:
     attachments = issueInfo.get('fields').get('attachment')
     patches = {}
     for attachment in attachments: