File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# util.py - common utility functions
2
2
# coding: utf-8
3
3
#
4
- # Copyright (C) 2012-2016 Arthur de Jong
4
+ # Copyright (C) 2012-2017 Arthur de Jong
5
5
#
6
6
# This library is free software; you can redistribute it and/or
7
7
# modify it under the terms of the GNU Lesser General Public
@@ -135,7 +135,7 @@ def get_number_modules(base='stdnum'):
135
135
module = sys .modules [base ]
136
136
# we ignore deprecation warnings from transitional modules
137
137
with warnings .catch_warnings ():
138
- warnings .filterwarnings ('ignore' , category = DeprecationWarning , module = 'stdnum\..*' )
138
+ warnings .filterwarnings ('ignore' , category = DeprecationWarning , module = r 'stdnum\..*' )
139
139
for _loader , name , _is_pkg in pkgutil .walk_packages (
140
140
module .__path__ , module .__name__ + '.' ):
141
141
__import__ (name )
You can’t perform that action at this time.
0 commit comments