[sysadmin-bin] Import subprocess
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Import subprocess
- Date: Thu, 9 Oct 2014 08:56:45 +0000 (UTC)
commit c696391d284bc90d3dec5d1a26bf915a535330cc
Author: Andrea Veri <av gnome org>
Date: Thu Oct 9 10:56:38 2014 +0200
Import subprocess
membership/foundation-operations.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/membership/foundation-operations.py b/membership/foundation-operations.py
index 8067a70..1c49993 100755
--- a/membership/foundation-operations.py
+++ b/membership/foundation-operations.py
@@ -288,6 +288,7 @@ def subscribe_new_members():
if os.path.getsize('/tmp/new_subscribers') == 0:
os.remove('/tmp/new_subscribers')
else:
+ import subprocess
subscribe = subprocess.Popen(['/usr/lib/mailman/bin/add_members', '-a', 'n', '-r',
'/tmp/new_subscribers', 'foundation-announce'])
subscribe.wait()
os.remove('/tmp/new_subscribers')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]