Changeset 2597 for trunk/components/tools/OmeroPy/src/omero/__init__.py
- Timestamp:
- 07/05/08 22:16:06 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/tools/OmeroPy/src/omero/__init__.py
r2595 r2597 219 219 """ 220 220 221 # If 'sf' exists we remove it. 221 # If 'sf' exists we remove it, but save it for the weird chance that ic is None 222 sf = None 222 223 if hasattr(self, 'sf'): 224 sf = self.sf 223 225 self.sf = None 224 226 225 227 # If 'ic' does not exist we don't have anything to do 226 228 if not hasattr(self, 'ic') or not self.ic: 227 return 229 if sf: 230 self.ic = sf.ice_getCommunicator() 231 else: 232 return 228 233 229 234 try:
