Skip to content

Conversation

@jcfr
Copy link
Collaborator

@jcfr jcfr commented Jun 22, 2016

This commit fixes error like this one:

Traceback (most recent call last):
  File "./extensions-index-checkout.py", line 150, in <module>
    duration, result = timecall(repo.update_repo)()
  File "./extensions-index-checkout.py", line 53, in wrapper
    result = method(*args, **kwargs)
  File "/home/jcfr/Projects/sandbox/libvcs/libvcs/git.py", line 198, in update_repo
    self.debug("tag_sha: %s" % tag_sha)

UnboundLocalError: local variable 'tag_sha' referenced before assignment

This commit fixes error like this one:

```
Traceback (most recent call last):
  File "./extensions-index-checkout.py", line 150, in <module>
    duration, result = timecall(repo.update_repo)()
  File "./extensions-index-checkout.py", line 53, in wrapper
    result = method(*args, **kwargs)
  File "/home/jcfr/Projects/sandbox/libvcs/libvcs/git.py", line 198, in update_repo
    self.debug("tag_sha: %s" % tag_sha)

UnboundLocalError: local variable 'tag_sha' referenced before assignment
```
@codecov-io
Copy link

codecov-io commented Jun 22, 2016

Current coverage is 65.15%

Merging #11 into master will decrease coverage by 0.13%

@@             master        #11   diff @@
==========================================
  Files             7          7          
  Lines           484        485     +1   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            316        316          
- Misses          168        169     +1   
  Partials          0          0          

Powered by Codecov. Last updated by 7f8c6a8...9f9c24f

@tony
Copy link
Member

tony commented Jun 22, 2016

We need test coverage there bad

@tony tony merged commit be16f32 into vcs-python:master Jun 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants