Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2ebfab

Browse files
astropy-buildbotddale
authored andcommitted
Remove debugging detritus.
Bump fontCache version number by a significant amount, since the master version number has increased in the meantime and we don't want the two to collide.
1 parent 654e1fd commit d2ebfab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,6 @@ def pickle_dump(data, filename):
945945
but closes the file to prevent filehandle leakage.
946946
"""
947947
fh = open(filename, 'wb')
948-
print data
949948
try:
950949
pickle.dump(data, fh)
951950
finally:
@@ -975,7 +974,7 @@ class FontManager:
975974
# Increment this version number whenever the font cache data
976975
# format or behavior has changed and requires a existing font
977976
# cache files to be rebuilt.
978-
__version__ = 8
977+
__version__ = 100
979978

980979
def __init__(self, size=None, weight='normal'):
981980
self._version = self.__version__

0 commit comments

Comments
 (0)