minor cleanup: remove trailing spaces in misc/

This commit is contained in:
Brian Warner 2011-12-18 12:18:41 -08:00
parent 531f562fcf
commit 37c0f2395d
4 changed files with 2 additions and 6 deletions

View File

@ -85,7 +85,7 @@ for n in ["compat", "control", "copyright", "pycompat", "rules"]:
if not os.path.exists(fn):
fn = "misc/debian/%s" % n
assert os.path.exists(fn)
shutil.copyfile(fn, os.path.join(DEBDIR, n))
if n == "rules":
os.chmod(os.path.join(DEBDIR, n), 0755) # +x

View File

@ -12,7 +12,7 @@ elif len(sys.argv) == 2:
else:
raise ValueError('must provide 0 or 1 argument (stdin, or filename)')
vern = {
vern = {
'major': v.major or 0,
'minor': v.minor or 0,
'point': v.micro or 0,

View File

@ -287,5 +287,3 @@ def main():
if __name__ == '__main__':
main()

View File

@ -110,8 +110,6 @@ class Sizes:
# any data
sibling_length = d * (k-1)
self.bytes_until_some_data = 32 * sibling_length + block_size
else:
raise ValueError("unknown mode '%s" % mode)