mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Remove debugging print statements
This commit is contained in:
parent
b12bc07d39
commit
3b34139bc7
@ -196,7 +196,6 @@ def diff(cwd, targets=None, user=None, username=None, *opts):
|
||||
if targets:
|
||||
opts += tuple(shlex.split(targets))
|
||||
return _run_svn('diff', cwd, user, username, opts)
|
||||
#def _run_svn(cmd, cwd, user, username, opts, **kwargs):
|
||||
|
||||
|
||||
def commit(cwd, targets=None, msg=None, user=None, username=None, *opts):
|
||||
|
@ -72,8 +72,6 @@ def latest(name,
|
||||
|
||||
svn_cmd = 'svn.checkout'
|
||||
cwd, basename = os.path.split(target)
|
||||
print 'cwd: ', cwd
|
||||
print 'basename: ', basename
|
||||
opts = tuple()
|
||||
|
||||
if os.path.exists(target) and not os.path.isdir(target):
|
||||
@ -85,12 +83,10 @@ def latest(name,
|
||||
svn_cmd = 'svn.diff'
|
||||
opts += ('-r', 'HEAD')
|
||||
out = __salt__[svn_cmd](cwd, target, user, username, *opts)
|
||||
#out = __salt__[svn_cmd](cwd, name, basename, user, username, *opts)
|
||||
return _neutral_test(
|
||||
ret,
|
||||
('{0}').format(out))
|
||||
try:
|
||||
#__salt__['svn.info']('.', target, user=user)
|
||||
__salt__['svn.info'](cwd, target, user=user)
|
||||
svn_cmd = 'svn.update'
|
||||
except exceptions.CommandExecutionError:
|
||||
|
Loading…
Reference in New Issue
Block a user