Changeset 4b80299 in trunk
- Timestamp:
- 2012-05-14T03:23:52Z (13 years ago)
- Branches:
- master
- Children:
- bf7e351
- Parents:
- 1e2657ef
- Location:
- src/allmydata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/__init__.py ¶
r1e2657ef r4b80299 146 146 import warnings 147 147 from _auto_deps import package_imports, deprecation_messages, \ 148 user_warning_messages, warning_imports148 user_warning_messages, runtime_warning_messages, warning_imports 149 149 150 150 def package_dir(srcfile): … … 170 170 for msg in user_warning_messages: 171 171 warnings.filterwarnings("ignore", category=UserWarning, message=msg, append=True) 172 for msg in runtime_warning_messages: 173 warnings.filterwarnings("ignore", category=RuntimeWarning, message=msg, append=True) 172 174 try: 173 175 for modulename in warning_imports: … … 177 179 pass 178 180 finally: 179 for ign in user_warning_messages: 180 warnings.filters.pop() 181 for ign in deprecation_messages: 181 for ign in runtime_warning_messages + user_warning_messages + deprecation_messages: 182 182 warnings.filters.pop() 183 183 -
TabularUnified src/allmydata/_auto_deps.py ¶
r1e2657ef r4b80299 116 116 ] 117 117 118 runtime_warning_messages = [ 119 "Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", 120 ] 121 118 122 warning_imports = [ 119 123 'nevow',
Note: See TracChangeset
for help on using the changeset viewer.