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
Expand Up @@ -3,8 +3,8 @@ python:
- "2.5" - "2.5"
- "2.6" - "2.6"
- "2.7" - "2.7"
- "3.1"
- "3.2" - "3.2"
- "3.3"


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

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

0 comments on commit b6b62e5

Please sign in to comment.