diff options
author | Rob Austein <sra@hactrn.net> | 2014-04-01 21:17:50 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-04-01 21:17:50 +0000 |
commit | c40352441df473bf519a4766310d7659f94cac37 (patch) | |
tree | b5ccf91a445830d22df8dd9082013f6696adab31 | |
parent | 0bbd024c82788767254ab40607bb4f347b5944c6 (diff) |
Scoping problem in exec-from-sql kludge, sigh.
svn path=/branches/tk671/; revision=5725
-rw-r--r-- | rpkid/upgrade-scripts/upgrade-irdbd-to-0.5678.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpkid/upgrade-scripts/upgrade-irdbd-to-0.5678.py b/rpkid/upgrade-scripts/upgrade-irdbd-to-0.5678.py index a60464d8..30baaf8a 100644 --- a/rpkid/upgrade-scripts/upgrade-irdbd-to-0.5678.py +++ b/rpkid/upgrade-scripts/upgrade-irdbd-to-0.5678.py @@ -40,6 +40,7 @@ print "Pausing to let RPKI daemons start up" time.sleep(10) def rpkic(cmd): + import subprocess subprocess.check_call(("rpkic", "-i", handle, cmd)) handles = subprocess.check_output(("rpkic", "list_self_handles")).splitlines() |