From: Frederic Massart Date: Fri, 1 Mar 2013 01:25:51 +0000 (+0800) Subject: Removed fake if causing pull to fail X-Git-Tag: v0.4~78 X-Git-Url: https://git.cameron1729.xyz/?a=commitdiff_plain;h=597dc386374e22c5802f827f2c6866cb7b76d4f4;p=mdk.git Removed fake if causing pull to fail --- diff --git a/moodle-pull.py b/moodle-pull.py index 4c29c16..803e0c3 100755 --- a/moodle-pull.py +++ b/moodle-pull.py @@ -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: