pep8 cleanup
This commit is contained in:
parent
7f8cb6dd45
commit
21ea2b34c0
4
Makefile
4
Makefile
|
@ -1,3 +1,3 @@
|
||||||
default:
|
default:
|
||||||
pyflakes teeth/
|
pyflakes teeth_agent/
|
||||||
pep8 --max-line-length=119 teeth/
|
pep8 --max-line-length=119 teeth_agent/
|
||||||
|
|
|
@ -14,9 +14,6 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import uuid
|
|
||||||
|
|
||||||
import pkg_resources
|
|
||||||
import simplejson as json
|
import simplejson as json
|
||||||
from twisted.internet.protocol import ReconnectingClientFactory
|
from twisted.internet.protocol import ReconnectingClientFactory
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
|
@ -50,7 +47,6 @@ class AgentClientFactory(ReconnectingClientFactory):
|
||||||
initialDelay = 1.0
|
initialDelay = 1.0
|
||||||
maxDelay = 120
|
maxDelay = 120
|
||||||
|
|
||||||
|
|
||||||
def buildProtocol(self, addr):
|
def buildProtocol(self, addr):
|
||||||
self.resetDelay()
|
self.resetDelay()
|
||||||
return self.protocol()
|
return self.protocol()
|
||||||
|
|
Loading…
Reference in New Issue