Skip to content

Commit 84987ba

Browse files
committed
Bump version
1 parent 0688fd2 commit 84987ba

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

gitfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.2.2"
15+
__version__ = "0.2.2.1"
1616

1717

1818
def mount():

gitfs/worker/fetch.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
# http://www.apache.org/licenses/LICENSE-2.0
88
#
99
# 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.
1211
# See the License for the specific language governing permissions and
1312
# limitations under the License.
1413

@@ -41,7 +40,6 @@ def fetch(self):
4140
self.repository.fetch(self.upstream, self.branch)
4241
fetch_successful.set()
4342
log.debug("Fetch done")
44-
except Exception as e:
43+
except:
4544
fetch_successful.clear()
46-
log.warn("Fetch failed")
47-
log.exception(e)
45+
log.exception("Fetch failed")

gitfs/worker/sync.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,10 @@ def sync(self):
113113
sync_done.set()
114114
log.debug("Set push_successful")
115115
push_successful.set()
116-
except Exception as e:
116+
except:
117117
push_successful.clear()
118118
fetch.set()
119-
log.warn("Push failed")
120-
log.exception(e)
119+
log.exception("Push failed")
121120
else:
122121
sync_done.set()
123122
syncing.clear()

0 commit comments

Comments
 (0)