File tree 3 files changed +6
-9
lines changed 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- __version__ = "0.2.2"
15
+ __version__ = "0.2.2.1 "
16
16
17
17
18
18
def mount ():
Original file line number Diff line number Diff line change 7
7
# http://www.apache.org/licenses/LICENSE-2.0
8
8
#
9
9
# Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
11
# See the License for the specific language governing permissions and
13
12
# limitations under the License.
14
13
@@ -41,7 +40,6 @@ def fetch(self):
41
40
self .repository .fetch (self .upstream , self .branch )
42
41
fetch_successful .set ()
43
42
log .debug ("Fetch done" )
44
- except Exception as e :
43
+ except :
45
44
fetch_successful .clear ()
46
- log .warn ("Fetch failed" )
47
- log .exception (e )
45
+ log .exception ("Fetch failed" )
Original file line number Diff line number Diff line change @@ -113,11 +113,10 @@ def sync(self):
113
113
sync_done .set ()
114
114
log .debug ("Set push_successful" )
115
115
push_successful .set ()
116
- except Exception as e :
116
+ except :
117
117
push_successful .clear ()
118
118
fetch .set ()
119
- log .warn ("Push failed" )
120
- log .exception (e )
119
+ log .exception ("Push failed" )
121
120
else :
122
121
sync_done .set ()
123
122
syncing .clear ()
You can’t perform that action at this time.
0 commit comments