Changeset 6471
- Timestamp:
- Mar 5, 2009, 2:32:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/generic_boundary_conditions.py
r6449 r6471 145 145 146 146 if self.default_boundary_invoked is False: 147 # Issue warning the first time 148 msg = '%s' %str(e) 149 msg += 'Instead I will use the default boundary: %s\n'\ 150 %str(self.default_boundary) 151 msg += 'Note: Further warnings will be supressed' 152 print msg 147 if self.verbose: 148 # Issue warning the first time 149 msg = '%s' %str(e) 150 msg += 'Instead I will use the default boundary: %s\n'\ 151 %str(self.default_boundary) 152 msg += 'Note: Further warnings will be supressed' 153 print msg 153 154 154 155 # FIXME (Ole): Replace this crude flag with … … 334 335 if self.default_boundary_invoked is False: 335 336 # Issue warning the first time 336 msg = '%s' %str(e) 337 msg += 'Instead I will use the default boundary: %s\n'\ 338 %str(self.default_boundary) 339 msg += 'Note: Further warnings will be supressed' 340 warn(msg) 337 if self.verbose: 338 msg = '%s' %str(e) 339 msg += 'Instead I will use the default boundary: %s\n'\ 340 %str(self.default_boundary) 341 msg += 'Note: Further warnings will be supressed' 342 print msg 341 343 342 344 # FIXME (Ole): Replace this crude flag with
Note: See TracChangeset
for help on using the changeset viewer.