mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed commented out debug code
This commit is contained in:
parent
21cf213b10
commit
37164221e5
1 changed files with 0 additions and 14 deletions
|
@ -904,17 +904,3 @@ def get_encoding(path):
|
|||
return "ASCII"
|
||||
|
||||
raise CommandExecutionError("Could not detect file encoding")
|
||||
|
||||
|
||||
## TBD DGM just parking here till final machine identifier work is done
|
||||
## def get_machine_identifier():
|
||||
## """
|
||||
## Provide the machine-identifier for machine/virtualization combination
|
||||
## """
|
||||
## locations = ["/etc/machine-id", "/var/lib/dbus/machine-id"]
|
||||
## existing_locations = [loc for loc in locations if os.path.exists(loc)]
|
||||
## if not existing_locations:
|
||||
## return ""
|
||||
## else:
|
||||
## with fopen(existing_locations[0]) as machineid:
|
||||
## return machineid.read().strip()
|
||||
|
|
Loading…
Add table
Reference in a new issue