Changeset 3525 for pykota/branches/1.26_fixes/pykota/storage.py
- Timestamp:
- 04/16/10 02:56:51 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/branches/1.26_fixes/pykota/storage.py
r3444 r3525 594 594 """Ensures that the database connection is closed.""" 595 595 self.close() 596 597 def hasWildCards(self, pattern) : 598 """Returns True if the pattern contains wildcards, else False.""" 599 specialchars = "*?[!" # no need to check for ] since [ would be there first 600 for specialchar in specialchars : 601 if specialchar in pattern : 602 return True 603 return False 596 604 597 605 def getFromCache(self, cachetype, key) :