1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

add vim mode lines to avoid evil tab characters :-)

This commit is contained in:
Ludwig Nussel 2010-02-25 09:52:47 +01:00
parent 663ae2df1e
commit 32e99306b4
12 changed files with 23 additions and 5 deletions

View File

@ -330,3 +330,5 @@ class OscConfigParser(ConfigParser.SafeConfigParser):
else:
ret.append(str(line))
return '\n'.join(ret)
# vim: sw=4 et

View File

@ -1 +1,3 @@
__all__ = ['babysitter', 'core', 'commandline', 'oscerr', 'othermethods', 'build', 'fetch', 'meter']
# vim: sw=4 et

View File

@ -161,3 +161,5 @@ def run(prg):
except OSError, e:
print >>sys.stderr, e
return 1
# vim: sw=4 et

View File

@ -733,3 +733,5 @@ def main(opts, argv):
if bc_file:
bc_file.close()
rpmlist_file.close()
# vim: sw=4 et

View File

@ -98,3 +98,5 @@ if __name__ == "__main__":
checker.cleanup()
raise e
# vim: sw=4 et

View File

@ -1535,3 +1535,5 @@ def _get_trailing_whitespace(marker, s):
i += 1
return suffix
# vim: sw=4 et

View File

@ -1,5 +1,3 @@
# vim: sw=4 et
# Copyright (C) 2006 Novell Inc. All rights reserved.
# This program is free software; it may be used, copied, modified
# and distributed under the terms of the GNU General Public Licence,
@ -5070,4 +5068,5 @@ Please submit there instead, or use --nodevelproject to force direct submission.
continue
exec open(os.path.join(plugin_dir, extfile))
# vim: sw=4 et

View File

@ -1,5 +1,3 @@
# vim: sw=4 et
# Copyright (C) 2006 Novell Inc. All rights reserved.
# This program is free software; it may be used, copied, modified
# and distributed under the terms of the GNU General Public Licence,
@ -4668,3 +4666,6 @@ def request_interactive_review(apiurl, request):
finally:
if tmpfile is not None:
tmpfile.close()
# vim: sw=4 et

View File

@ -94,3 +94,5 @@ class TextMeter(BaseMeter):
(text, 100, bar, total_size, total_time) + ' '
self.fo.write(out + '\n')
self.fo.flush()
# vim: sw=4 et

View File

@ -105,3 +105,5 @@ class PackageMissing(PackageError):
def __init__(self, prj, pac, msg):
PackageError.__init__(self, prj, pac)
self.msg = msg
# vim: sw=4 et

View File

@ -330,4 +330,4 @@ Would you like to
elif r == '9':
print cert.as_text()
# vim: syntax=python sw=4 et
# vim: sw=4 et

View File

@ -5,3 +5,5 @@ class NoSecureSSLError(Exception):
self.msg = msg
def __str__(self):
return self.msg
# vim: sw=4 et