More whitespace fixes.

This commit is contained in:
Éric Araujo 2010-04-08 01:20:22 +02:00
parent 0408b35cfb
commit 56da0c19d8
11 changed files with 22 additions and 33 deletions

View File

@ -8,4 +8,3 @@ if os.getcwd().endswith('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:]))

View File

@ -52,7 +52,8 @@ if 'gtk' in os.listdir('.'):
opts = {
'py2exe': {
# 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': [
'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',
'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll',

View File

@ -555,4 +555,3 @@ class MultipleDataForm(DataForm):
# record.setName('reported')
# self.addChild(node=record)
# return locals()

View File

@ -27,28 +27,27 @@ These constants have been obtained from RFC2409 and RFC3526.
'''
import string
generators = [ None, # one to get the right offset
2,
2,
None,
None,
2,
None,
None,
None,
None,
None,
None,
None,
None,
2, # group 14
2,
2,
2,
2,
]
generators = [None, # one to get the right offset
2,
2,
None,
None,
2,
None,
None,
None,
None,
None,
None,
None,
None,
2, # group 14
2,
2,
2,
2]
hex_primes = [ None,
hex_primes = [None,
# group 1
'''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1

View File

@ -54,4 +54,3 @@ def normalise_attr(val):
def normalise_text(val):
return val.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;').replace('\r', '&#xD;')

View File

@ -511,4 +511,3 @@ class GlibIdleQueue(IdleQueue):
def process(self):
self._check_time_events()

View File

@ -330,4 +330,3 @@ class Zeroconf:
except pybonjour.BonjourError:
return False
return True

View File

@ -5123,4 +5123,3 @@ class VoIPCallReceivedDialog(object):
session.reject_content(content)
dialog.destroy()

View File

@ -533,4 +533,3 @@ class IPythonView(ConsoleView, IterableIPShell):
if rv: rv = rv.strip('\n')
self.showReturned(rv)
self.cout.truncate(0)

View File

@ -230,4 +230,3 @@ class SearchWindow:
if self.data_form_widget.title:
self.window.set_title('%s - Search - Gajim' % \
self.data_form_widget.title)

View File

@ -461,6 +461,3 @@ def HASMETHOD(method):
return testFn
CALLABLE = callable