diff --git a/setup.py b/setup.py index 370bd36fb3f..0e0d4f31a46 100755 --- a/setup.py +++ b/setup.py @@ -133,7 +133,7 @@ __version_info__ = {version_info!r} ''' -install_syspaths_template = '''\ +INSTALL_SYSPATHS_TEMPLATE = '''\ # This file was auto-generated by salt's setup on \ {date:%A, %d %B %Y @ %H:%m:%S UTC}. @@ -175,7 +175,7 @@ class Build(build): self.build_lib, 'salt', '_syspaths.py' ) open(system_paths_file_path, 'w').write( - install_syspaths_template.format( + INSTALL_SYSPATHS_TEMPLATE.format( date=datetime.utcnow(), root_dir=self.distribution.salt_root_dir, config_dir=self.distribution.salt_config_dir,