Merge pull request #271 from minrk/git-commit-not-found

leave empty commit hash when none found
Matthias Bussonnier 11 years ago
commit 13b663aa05

@ -46,7 +46,7 @@ def pkg_commit_hash(pkg_path):
repo_commit, _ = proc.communicate()
if repo_commit:
return 'repository', repo_commit.strip().decode('ascii')
return '(none found)', u'<not found>'
return u'', u''
def pkg_info(pkg_path):

Loading…
Cancel
Save