[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/unsermake
From:       Matthias Kretz <kretz () kde ! org>
Date:       2003-04-03 13:45:09
[Download RAW message or body]

CVS commit by mkretz: 

this fixes it, thanks Alexander


  M +2 -1      unsermake   1.133


--- kdenonbeta/unsermake/unsermake  #1.132:1.133
@@ -922,5 +922,6 @@
 
                 # add a final line feed to be sure we have it
-                # FIXME: fails if the Makefile.am has a size of 0
+                if len(self.lines) == 0:
+                        self.lines = ["\n"]
                 if not self.lines[-1][-1] == '\n':
                         self.lines.append('\n')


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic