[sysadmin-bin] post-receive-notify-ostree: more minor fixes
- From: Owen Taylor <otaylor src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] post-receive-notify-ostree: more minor fixes
- Date: Tue, 9 Oct 2012 06:21:05 +0000 (UTC)
commit 348747bf0322e44078c690c2cfd53f614d7d618b
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Tue Oct 9 02:21:03 2012 -0400
post-receive-notify-ostree: more minor fixes
git/post-receive-notify-ostree | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/post-receive-notify-ostree b/git/post-receive-notify-ostree
index ff05640..42116ba 100755
--- a/git/post-receive-notify-ostree
+++ b/git/post-receive-notify-ostree
@@ -48,7 +48,7 @@ def main():
module_name = re.sub('\+', '__2b', module_name)
module_name = re.sub('-', '__2d', module_name)
- if (!re.match('^[A-Za-z0-9_.]$', module_name)):
+ if not re.match('^[A-Za-z0-9_.]$', module_name):
print >>sys.stderr, "Module name has unexpected characters, can't notify ostree.gnome.org"
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]