git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed another bunch of references to geni
[sfa.git]
/
sfa
/
plc
/
sfa-nuke-plc.py
diff --git
a/sfa/plc/sfa-nuke-plc.py
b/sfa/plc/sfa-nuke-plc.py
index
eac6ed7
..
16c12dc
100755
(executable)
--- a/
sfa/plc/sfa-nuke-plc.py
+++ b/
sfa/plc/sfa-nuke-plc.py
@@
-1,6
+1,6
@@
#!/usr/bin/python
##
#!/usr/bin/python
##
-# Delete all the database records for
Geni. This tool is used to clean out Geni
+# Delete all the database records for
SFA. This tool is used to clean out SFA
# records during testing.
#
# Authority info (maintained by the hierarchy module in a subdirectory tree)
# records during testing.
#
# Authority info (maintained by the hierarchy module in a subdirectory tree)
@@
-12,7
+12,7
@@
import sys
from sfa.trust.hierarchy import *
from sfa.util.record import *
from sfa.trust.hierarchy import *
from sfa.util.record import *
-from sfa.util.
genitable import Geni
Table
+from sfa.util.
table import Sfa
Table
from sfa.util.config import Config
def process_options():
from sfa.util.config import Config
def process_options():
@@
-25,8
+25,8
@@
def process_options():
def main():
process_options()
def main():
process_options()
- print "
purging geni
records from database"
-
GeniTable.geni
_records_purge(Config().get_plc_dbinfo())
+ print "
Purging SFA
records from database"
+
SfaTable.sfa
_records_purge(Config().get_plc_dbinfo())
if __name__ == "__main__":
main()
if __name__ == "__main__":
main()