Skip to content

Commit

Permalink
fix pep8 typo problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Praloran committed Dec 2, 2015
1 parent b542910 commit c4828ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
import sys
import re

STREAM_DOCKER_PY_VERSION = (1, 6, 0)

STREAM_DOCKER_PY_VERSION=(1, 6, 0)

def _c(c):
"""A helper method for representing a container in messages. If the given
Expand Down Expand Up @@ -207,11 +207,11 @@ def run(self):
if not self._stream:
if not self._feed:
self._feed = self._client.stats(self._container,
decode=True)
decode=True)
self._stats = self._feed.next()
else:
self._stats = self._client.stats(self._container,
decode=True,stream=False)
decode=True, stream=False)
# Reset failure count on successfull read from the stats API.
failures = 0
except Exception, e:
Expand Down

0 comments on commit c4828ee

Please sign in to comment.