Skip to content

Commit

Permalink
change print to logger.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba committed Feb 8, 2013
1 parent ab43a74 commit b6b62e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ python:
- "2.5"
- "2.6"
- "2.7"
- "3.1"
- "3.2"
- "3.3"

install:
- pip install six
Expand Down
3 changes: 2 additions & 1 deletion plumbum/paramiko_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def __nonzero__(self):
def __getattr__(self, name):
raise ImportError("No module named paramiko")
paramiko = paramiko()

import logging
import six
import errno
Expand Down Expand Up @@ -71,7 +72,7 @@ def communicate(self):
line = infile.readline()
except (ValueError, IOError):
line = None
print("!! %s", (repr(line),))
logger.debug("communicate: %r", line)
if not line:
infile.close()
infile = None
Expand Down

0 comments on commit b6b62e5

Please sign in to comment.