More whitespace fixes.
This commit is contained in:
parent
0408b35cfb
commit
56da0c19d8
|
@ -8,4 +8,3 @@ if os.getcwd().endswith('dev'):
|
||||||
os.chdir('../../src/') # we were in scripts/dev
|
os.chdir('../../src/') # we were in scripts/dev
|
||||||
|
|
||||||
os.system("pylint --indent-string='\t' --additional-builtins='_' --disable-msg=C0111,C0103,C0111,C0112 --disable-checker=design " + "".join(sys.argv[1:]))
|
os.system("pylint --indent-string='\t' --additional-builtins='_' --disable-msg=C0111,C0103,C0111,C0112 --disable-checker=design " + "".join(sys.argv[1:]))
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,8 @@ if 'gtk' in os.listdir('.'):
|
||||||
opts = {
|
opts = {
|
||||||
'py2exe': {
|
'py2exe': {
|
||||||
# ConfigParser,UserString,roman are needed for docutils
|
# ConfigParser,UserString,roman are needed for docutils
|
||||||
'includes': 'pango,atk,gobject,cairo,pangocairo,gtk.keysyms,encodings,encodings.*,ConfigParser,UserString',
|
'includes': ('pango,atk,gobject,cairo,pangocairo,gtk.keysyms,'
|
||||||
|
'encodings,encodings.*,ConfigParser,UserString'),
|
||||||
'dll_excludes': [
|
'dll_excludes': [
|
||||||
'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',
|
'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',
|
||||||
'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll',
|
'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll',
|
||||||
|
|
|
@ -555,4 +555,3 @@ class MultipleDataForm(DataForm):
|
||||||
# record.setName('reported')
|
# record.setName('reported')
|
||||||
# self.addChild(node=record)
|
# self.addChild(node=record)
|
||||||
# return locals()
|
# return locals()
|
||||||
|
|
||||||
|
|
|
@ -27,28 +27,27 @@ These constants have been obtained from RFC2409 and RFC3526.
|
||||||
'''
|
'''
|
||||||
import string
|
import string
|
||||||
|
|
||||||
generators = [ None, # one to get the right offset
|
generators = [None, # one to get the right offset
|
||||||
2,
|
2,
|
||||||
2,
|
2,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
2,
|
2,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
2, # group 14
|
2, # group 14
|
||||||
2,
|
2,
|
||||||
2,
|
2,
|
||||||
2,
|
2,
|
||||||
2,
|
2]
|
||||||
]
|
|
||||||
|
|
||||||
hex_primes = [ None,
|
hex_primes = [None,
|
||||||
|
|
||||||
# group 1
|
# group 1
|
||||||
'''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
|
'''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
|
||||||
|
|
|
@ -54,4 +54,3 @@ def normalise_attr(val):
|
||||||
|
|
||||||
def normalise_text(val):
|
def normalise_text(val):
|
||||||
return val.replace('&', '&').replace('<', '<').replace('>', '>').replace('\r', '
')
|
return val.replace('&', '&').replace('<', '<').replace('>', '>').replace('\r', '
')
|
||||||
|
|
||||||
|
|
|
@ -511,4 +511,3 @@ class GlibIdleQueue(IdleQueue):
|
||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
self._check_time_events()
|
self._check_time_events()
|
||||||
|
|
||||||
|
|
|
@ -330,4 +330,3 @@ class Zeroconf:
|
||||||
except pybonjour.BonjourError:
|
except pybonjour.BonjourError:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -5123,4 +5123,3 @@ class VoIPCallReceivedDialog(object):
|
||||||
session.reject_content(content)
|
session.reject_content(content)
|
||||||
|
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
|
|
||||||
|
|
|
@ -533,4 +533,3 @@ class IPythonView(ConsoleView, IterableIPShell):
|
||||||
if rv: rv = rv.strip('\n')
|
if rv: rv = rv.strip('\n')
|
||||||
self.showReturned(rv)
|
self.showReturned(rv)
|
||||||
self.cout.truncate(0)
|
self.cout.truncate(0)
|
||||||
|
|
||||||
|
|
|
@ -230,4 +230,3 @@ class SearchWindow:
|
||||||
if self.data_form_widget.title:
|
if self.data_form_widget.title:
|
||||||
self.window.set_title('%s - Search - Gajim' % \
|
self.window.set_title('%s - Search - Gajim' % \
|
||||||
self.data_form_widget.title)
|
self.data_form_widget.title)
|
||||||
|
|
||||||
|
|
|
@ -461,6 +461,3 @@ def HASMETHOD(method):
|
||||||
return testFn
|
return testFn
|
||||||
|
|
||||||
CALLABLE = callable
|
CALLABLE = callable
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue