leave empty commit hash when none found

avoids `4.0.1-<none found>` message for stable releases in About panel
pull/271/head
Min RK 11 years ago
parent 53c382620b
commit 13fee969ec

@ -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