fix NameError
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 21 Jan 2012 01:00:43 +0000 (20:00 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 21 Jan 2012 01:00:43 +0000 (20:00 -0500)
sfa/managers/slice_manager.py

index e9e446a..b261fe2 100644 (file)
@@ -135,7 +135,7 @@ class SliceManager:
     
         # look in cache first
         cached_requested = options.get('cached', True)
-        if not xrn and self.cache and cached_request:
+        if not xrn and self.cache and cached_requested:
             rspec =  self.cache.get(version_string)
             if rspec:
                 api.logger.debug("SliceManager.ListResources returns cached advertisement")