Patchwork [1,of,3,V2] factotum: initialize global variables to suppress pyflakes warning

login
register
mail settings
Submitter Yuya Nishihara
Date May 2, 2014, 10:14 a.m.
Message ID <0b3efdcc4c0138bd3d59.1399025675@gimlet>
Download mbox | patch
Permalink /patch/4492/
State Accepted
Commit be561a6221000142b68aaacf049905435fb1c082
Headers show

Comments

Yuya Nishihara - May 2, 2014, 10:14 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1399022650 -32400
#      Fri May 02 18:24:10 2014 +0900
# Node ID 0b3efdcc4c0138bd3d59d83da137012382f63a2c
# Parent  59cb794c9004693fcda9f28d3364279bc230865d
factotum: initialize global variables to suppress pyflakes warning

Patch

diff --git a/hgext/factotum.py b/hgext/factotum.py
--- a/hgext/factotum.py
+++ b/hgext/factotum.py
@@ -52,6 +52,8 @@  import os, urllib2
 
 ERRMAX = 128
 
+_executable = _mountpoint = _service = None
+
 def auth_getkey(self, params):
     if not self.ui.interactive():
         raise util.Abort(_('factotum not interactive'))