Skip to content

Commit

Permalink
Revert "Pylint - Updates to remove disablement of pylint warnings pre…
Browse files Browse the repository at this point in the history
…sent in"

This reverts commit f5d62e4.
  • Loading branch information
xsuchy committed Jan 14, 2013
1 parent 48750e8 commit ba6ee44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ before_install:

install:
- sudo apt-get install libssl-dev python m2crypto --quiet
- sudo pip install mock nose pyxml kerberos pep8 pylint==0.25.1 simplejson --quiet
- sudo pip install mock nose pyxml kerberos pep8 pylint simplejson --quiet

script:
- ./scripts/ci/cli_pull_request_tests.sh
Expand Down
8 changes: 4 additions & 4 deletions cli/src/katello/client/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ def _putMessage(self):

def _eraseMessage(self):
l = len(self._msg)
sys.stdout.write('\033['+ str(l) +'D')
sys.stdout.write('\033['+ str(l) +'D') # pylint: disable=W1401
sys.stdout.write(' '*l)
sys.stdout.write('\033['+ str(l) +'D')
sys.stdout.write('\033['+ str(l) +'D') # pylint: disable=W1401


@classmethod
Expand All @@ -306,7 +306,7 @@ def _putChar(cls, char):
@classmethod
def _resetCaret(cls):
#move the caret one character back
sys.stdout.write('\033[3D')
sys.stdout.write('\033[3D') # pylint: disable=W1401
sys.stdout.flush()

def _eraseSpinner(self):
Expand All @@ -317,7 +317,7 @@ def _eraseSpinner(self):
def run(self):
self._putMessage()
while True:
for char in '/-\|':
for char in '/-\|': # pylint: disable=W1401
self._putChar(char)
if self._stopevent.wait(0.1) or self._stopevent.is_set():
self._eraseSpinner()
Expand Down

0 comments on commit ba6ee44

Please sign in to comment.