[Debian-in-commits] [SCM] dh-make-font.git branch, master, updated. e546e21c60af35b90730d66654bf1e86498dc462

Vasudev Kamath kamathvasudev at gmail.com
Sun Dec 18 15:10:49 UTC 2011


The following commit has been merged in the master branch:
commit e546e21c60af35b90730d66654bf1e86498dc462
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date:   Sun Dec 18 20:20:34 2011 +0530

    Minor issue fixes caused by format plugin of emacs :P

diff --git a/dh-make-font b/dh-make-font
index 64eacdf..9af9bea 100755
--- a/dh-make-font
+++ b/dh-make-font
@@ -104,7 +104,7 @@ def call_dh_make(args):
 	return os.system("dh_make"+args_string)
 
 
-def update_control_file():
+def update_control_file(args):
         """
         
            This function updates the control file which is generated by
@@ -147,7 +147,7 @@ def update_control_file():
                         else:
                                 control_content += line
 
-                                control_content += "\n"
+                        control_content += "\n"
                                 
                 with open('control','wb') as fd:
                         fd.write(control_content)    
@@ -163,11 +163,11 @@ def main():
 
         if(check_files()!=0):
                 print("I could not find .ttf, .sfd, .otf. Atleast one should be there. Dying.")
-	exit(256)
+                exit(256)
 
         if(call_dh_make(args)):
                 print("dh_make_font: dh_make died so I dye.")
-	exit(256)
+                exit(256)
 
         os.chdir(os.path.abspath('debian'))
         for dirpath,dirname,filenames in os.walk('.'):
@@ -178,7 +178,7 @@ def main():
         with open('watch','w') as fd:
                 fd.write(watch)        
 
-        update_control_file()
+        update_control_file(args)
 
 if __name__ == "__main__":
         main()

-- 
dh-make-font.git



More information about the Debian-in-commits mailing list