Skip to content

Commit

Permalink
Merge pull request #271 from minrk/git-commit-not-found
Browse files Browse the repository at this point in the history
leave empty commit hash when none found
  • Loading branch information
Carreau committed Aug 12, 2015
2 parents 53c3826 + 13fee96 commit 13b663a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/_sysinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 13b663a

Please sign in to comment.