[geany/geany-plugins] f95128: Explicitly return None
Enrico Tröger
git-noreply at xxxxx
Sat Oct 4 09:51:38 UTC 2014
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sat, 04 Oct 2014 09:51:38 UTC
Commit: f951283c379dce40e270378decd07d715daa6fba
https://github.com/geany/geany-plugins/commit/f951283c379dce40e270378decd07d715daa6fba
Log Message:
-----------
Explicitly return None
The output is the same as before, just more explicit in what we return.
Modified Paths:
--------------
build/wafutils.py
Modified: build/wafutils.py
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -184,10 +184,10 @@ def get_plugins():
def get_git_rev(conf):
if conf.options.no_scm:
- return
+ return None
if not os.path.isdir('.git'):
- return
+ return None
try:
cmd = 'git rev-parse --short --revs-only HEAD'
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list