diff options
Diffstat (limited to 'examples/customHdf5TreeModel.py')
-rw-r--r-- | examples/customHdf5TreeModel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/customHdf5TreeModel.py b/examples/customHdf5TreeModel.py index 8bd444a..fde76c5 100644 --- a/examples/customHdf5TreeModel.py +++ b/examples/customHdf5TreeModel.py @@ -2,7 +2,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2016-2017 European Synchrotron Radiation Facility +# Copyright (c) 2016-2018 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -101,7 +101,6 @@ _file_cache = {} def get_hdf5_with_all_types(): - global _file_cache ID = "alltypes" if ID in _file_cache: return _file_cache[ID].name |