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.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:]))

View File

@ -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',

View File

@ -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()

View File

@ -45,8 +45,7 @@ generators = [ None, # one to get the right offset
2, 2,
2, 2,
2, 2,
2, 2]
]
hex_primes = [None, hex_primes = [None,

View File

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

View File

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

View File

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

View File

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

View File

@ -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)

View File

@ -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)

View File

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