File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 6
6
- DEBIAN_FRONTEND=noninteractive
7
7
commands :
8
8
- apt-get update && apt-get install -qy build-essential python-pip python-virtualenv python-dev software-properties-common python-software-properties libfuse-dev fuse git libffi-dev python3.4-dev
9
- - sudo add-apt-repository -y ppa:presslabs/gitfs-dev
9
+ - sudo add-apt-repository -y ppa:presslabs/gitfs
10
10
- sudo apt-get update
11
11
- sudo apt-get install -y libgit2 libgit2-dev
12
12
- sudo chmod 660 /dev/fuse
Original file line number Diff line number Diff line change @@ -102,8 +102,7 @@ def on_idle(self):
102
102
log .debug ("Retry-ing to sync with remote. Attempt #%d" , count )
103
103
104
104
if count >= 5 :
105
- log .debug ("Didn't manage to sync, I need some help" )
106
-
105
+ log .error ("Didn't manage to sync, I need some help" )
107
106
108
107
def merge (self ):
109
108
log .debug ("Start merging" )
@@ -149,10 +148,10 @@ def sync(self):
149
148
sync_done .set ()
150
149
log .debug ("Set push_successful" )
151
150
push_successful .set ()
152
- except :
151
+ except Exception as error :
153
152
push_successful .clear ()
154
153
fetch .set ()
155
- log .exception ("Push failed" )
154
+ log .debug ("Push failed because of %s" , error )
156
155
return False
157
156
else :
158
157
log .debug ("Sync done, clearing" )
You can’t perform that action at this time.
0 commit comments