Permalink
Browse files

Merge pull request #11014 from makinacorpus/pep8

pep8 fixes
  • Loading branch information...
2 parents abf2487 + d31ce8b commit d9fb9e409c9cf30030e7bb2685f56ded523db604 @cachedout cachedout committed Mar 6, 2014
Showing with 2 additions and 1 deletion.
  1. +0 −1 salt/daemons/flo/minion.py
  2. +2 −0 salt/modules/file.py
@@ -84,7 +84,6 @@ class PillarLoad(ioflo.base.deeding.Deed): # pylint: disable=W0232
'grains': '.salt.loader.grains'}
-
class ModulesLoad(ioflo.base.deeding.Deed): # pylint: disable=W0232
'''
Reload the minion modules
View
@@ -1869,6 +1869,7 @@ def file_exists(path):
'''
return os.path.isfile(path)
+
def path_exists_glob(path):
'''
Tests to see if path after expansion is a valid path (file or directory).
@@ -1886,6 +1887,7 @@ def path_exists_glob(path):
'''
return True if glob(path) else False
+
def restorecon(path, recursive=False):
'''
Reset the SELinux context on a given path

0 comments on commit d9fb9e4

Please sign in to comment.