Skip to content

Commit

Permalink
Fix UnboundLocalError when trying to reinstall or remove a package
Browse files Browse the repository at this point in the history
  • Loading branch information
George Vlahavas committed Aug 1, 2014
1 parent b88951c commit e449a06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sourcery
Expand Up @@ -241,6 +241,8 @@ class Sourcery:
return version return version


def get_deps(self, pkglist): def get_deps(self, pkglist):
error = False
missing = ''
deps = [] deps = []
DEVNULL = open('/dev/null', 'w') DEVNULL = open('/dev/null', 'w')
for pkg, pkgver in pkglist: for pkg, pkgver in pkglist:
Expand Down

0 comments on commit e449a06

Please sign in to comment.