Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vtemian committed Nov 10, 2014
1 parent 0688fd2 commit 84987ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gitfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.2.2"
__version__ = "0.2.2.1"


def mount():
Expand Down
8 changes: 3 additions & 5 deletions gitfs/worker/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Expand Down Expand Up @@ -41,7 +40,6 @@ def fetch(self):
self.repository.fetch(self.upstream, self.branch)
fetch_successful.set()
log.debug("Fetch done")
except Exception as e:
except:
fetch_successful.clear()
log.warn("Fetch failed")
log.exception(e)
log.exception("Fetch failed")
5 changes: 2 additions & 3 deletions gitfs/worker/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,10 @@ def sync(self):
sync_done.set()
log.debug("Set push_successful")
push_successful.set()
except Exception as e:
except:
push_successful.clear()
fetch.set()
log.warn("Push failed")
log.exception(e)
log.exception("Push failed")
else:
sync_done.set()
syncing.clear()
Expand Down

0 comments on commit 84987ba

Please sign in to comment.