Remove debugging print statements

This commit is contained in:
David Boucha 2013-02-08 10:27:29 -07:00
parent b12bc07d39
commit 3b34139bc7
2 changed files with 0 additions and 5 deletions

View File

@ -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):

View File

@ -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: