Changeset 7750 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 2 Mar 2012, 12:01:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7749 r7750 1147 1147 1148 1148 def update(self, back=None, query=None): 1149 if os.name != 'posix': 1150 self.flash( 1151 _('Log files can only be searched ' + 1152 'on Unix-based operating systems.')) 1153 self.redirect(self.url(self.context, '@@logs')) 1154 return 1149 1155 session = ISession(self.request)['waeup.sirp'] 1150 1156 logname = session.get('logname', None) … … 1160 1166 self.files = self.context.getLogFiles() 1161 1167 fullpath = os.path.join(self.context.storage, 'logs', logname) 1162 1163 1168 self.query = query 1164 1169 #self.filecontents = open(fullpath, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.