Fix get resources for slices
[sfa.git] / sfa / openstack / nova_shell.py
index bebe8a8..053fd71 100644 (file)
@@ -45,6 +45,7 @@ class NovaShell:
     def __init__ ( self, config ) :
         url = config.SFA_PLC_URL
         # try to figure if the url is local
+        is_local=False    
         hostname=urlparse(url).hostname
         if hostname == 'localhost': is_local=True
         # otherwise compare IP addresses;