git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
04b5f9e
)
SfaTable module depends on pdg (postgres) package being installed. Move the import...
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 25 Aug 2010 19:32:28 +0000
(19:32 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 25 Aug 2010 19:32:28 +0000
(19:32 +0000)
sfa/server/interface.py
patch
|
blob
|
history
diff --git
a/sfa/server/interface.py
b/sfa/server/interface.py
index
6492e70
..
dbc5489
100644
(file)
--- a/
sfa/server/interface.py
+++ b/
sfa/server/interface.py
@@
-7,7
+7,6
@@
from sfa.util.faults import *
from sfa.util.storage import *
from sfa.util.namespace import *
from sfa.trust.gid import GID
-from sfa.util.table import SfaTable
from sfa.util.record import SfaRecord
import traceback
import sfa.util.xmlrpcprotocol as xmlrpcprotocol
@@
-150,6
+149,8
@@
class Interfaces(dict):
defined in the config file (registries.xml). Removes old records from
the db.
"""
+ # import SfaTable here so this module can be loaded by CompoenetAPI
+ from sfa.util.table import SfaTable
if not gids:
return