More whitespace mini fixes.
This commit is contained in:
		
							parent
							
								
									cf0bc0b478
								
							
						
					
					
						commit
						dd6062319a
					
				
					 12 changed files with 23 additions and 35 deletions
				
			
		|  | @ -8,4 +8,3 @@ if os.getcwd().endswith('dev'): | |||
|     os.chdir('../../src/') # we were in scripts/dev | ||||
| 
 | ||||
| os.system("pylint --include-ids=y --additional-builtins='_' --disable-msg=C0103,C0111,W0703,W0511,W0142,W0613,R0201 --disable-checker=design " + "".join(sys.argv[1:])) | ||||
| 
 | ||||
|  |  | |||
|  | @ -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', | ||||
|  | @ -78,7 +79,6 @@ setup( | |||
|     url='http://www.gajim.org/', | ||||
|     download_url='http://www.gajim.org/downloads.php', | ||||
|     license='GPL', | ||||
| 
 | ||||
|     windows=[{'script': 'src/gajim.py', | ||||
|               'icon_resources': [(1, 'data/pixmaps/gajim.ico')]}, | ||||
|              {'script': 'src/history_manager.py', | ||||
|  |  | |||
|  | @ -615,4 +615,3 @@ class MultipleDataForm(DataForm): | |||
| #                       record.setName('reported') | ||||
| #                       self.addChild(node=record) | ||||
| #               return locals() | ||||
| 
 | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ These constants have been obtained from RFC2409 and RFC3526. | |||
| 
 | ||||
| import string | ||||
| 
 | ||||
| generators = [  None, # one to get the right offset | ||||
| generators = [None, # one to get the right offset | ||||
|               2, | ||||
|               2, | ||||
|               None, | ||||
|  | @ -46,10 +46,9 @@ generators = [  None, # one to get the right offset | |||
|               2, | ||||
|               2, | ||||
|               2, | ||||
|                                                                 2, | ||||
|                                                                                         ] | ||||
|               2] | ||||
| 
 | ||||
| hex_primes = [  None, | ||||
| hex_primes = [None, | ||||
| 
 | ||||
| # group 1 | ||||
| '''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1 | ||||
|  |  | |||
|  | @ -97,4 +97,3 @@ class VideoOutputManager(DeviceManager): | |||
|         # ximagesink | ||||
|         self.detect_element('ximagesink', _('X Window System (without Xv)')) | ||||
|         self.detect_element('autovideosink', _('Autodetect')) | ||||
| 
 | ||||
|  |  | |||
|  | @ -438,7 +438,7 @@ class SASL(PlugIn): | |||
|             self.scram_soup = 'n=' + self.username + ',r=' + nonce | ||||
|             self.scram_gs2 = 'n,,' # No CB yet. | ||||
|             sasl_data = (self.scram_gs2 + self.scram_soup).encode('base64').\ | ||||
|                 replace('\n','') | ||||
|                 replace('\n', '') | ||||
|             node = Node('auth', attrs={'xmlns': NS_SASL, | ||||
|                 'mechanism': self.mechanism}, payload=[sasl_data]) | ||||
|         elif self.mechanism == 'DIGEST-MD5': | ||||
|  |  | |||
|  | @ -57,4 +57,3 @@ def normalise_attr(val): | |||
| 
 | ||||
| def normalise_text(val): | ||||
|     return val.replace('&', '&').replace('<', '<').replace('>', '>').replace('\r', '
') | ||||
| 
 | ||||
|  |  | |||
|  | @ -543,4 +543,3 @@ class GlibIdleQueue(IdleQueue): | |||
| 
 | ||||
|     def process(self): | ||||
|         self._check_time_events() | ||||
| 
 | ||||
|  |  | |||
|  | @ -330,4 +330,3 @@ class Zeroconf: | |||
|         except pybonjour.BonjourError: | ||||
|             return False | ||||
|         return True | ||||
| 
 | ||||
|  |  | |||
|  | @ -4956,4 +4956,3 @@ class VoIPCallReceivedDialog(object): | |||
|                     session.reject_content(content) | ||||
| 
 | ||||
|         dialog.destroy() | ||||
| 
 | ||||
|  |  | |||
|  | @ -534,4 +534,3 @@ class IPythonView(ConsoleView, IterableIPShell): | |||
|         if rv: rv = rv.strip('\n') | ||||
|         self.showReturned(rv) | ||||
|         self.cout.truncate(0) | ||||
| 
 | ||||
|  |  | |||
|  | @ -461,6 +461,3 @@ def HASMETHOD(method): | |||
|     return testFn | ||||
| 
 | ||||
| CALLABLE = callable | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue