[sysadmin-bin] Quotes are needed here
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Quotes are needed here
- Date: Thu, 8 May 2014 15:28:26 +0000 (UTC)
commit 6f32be70c3133536d9565c63fbf85c2049a87aee
Author: Andrea Veri <av gnome org>
Date: Thu May 8 17:28:20 2014 +0200
Quotes are needed here
membership/foundation-db-operations.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/membership/foundation-db-operations.py b/membership/foundation-db-operations.py
index 7b63386..065fc57 100755
--- a/membership/foundation-db-operations.py
+++ b/membership/foundation-db-operations.py
@@ -234,7 +234,7 @@ def subscribe_new_members():
f.write (str(row[0]) + "\n")
f.close()
- if os.path.getsize('/tmp/new_subscribers') == 0:
+ if os.path.getsize('/tmp/new_subscribers') == '0':
os.remove('/tmp/new_subscribers')
else:
subscribe = subprocess.Popen(['/usr/lib/mailman/bin/add_members', '-a', 'n', '-r',
'/tmp/new_subscribers', 'foundation-announce'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]