X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=natalie;h=2c43a5d2cdc30f55d783dc5b14d51fea834ff838;hb=41b58850cb71d3fa204810b19cb0e00a46992fdb;hp=db65af993ec3b10ba79c5c3bb4d287ce85616645;hpb=a723386668c8fda6be8587f1df4b30a4ea63c4e2;p=dak.git diff --git a/natalie b/natalie index db65af99..2c43a5d2 100755 --- a/natalie +++ b/natalie @@ -2,7 +2,7 @@ # Manipulate override files # Copyright (C) 2000, 2001, 2002, 2003 James Troup -# $Id: natalie,v 1.5 2003-03-14 19:05:43 troup Exp $ +# $Id: natalie,v 1.6 2003-04-15 16:03:31 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -117,7 +117,7 @@ def process_file (file, suite, component, type, action): start_time = time.time(); projectB.query("BEGIN WORK"); for line in file.readlines(): - line = utils.re_comments.sub('', line[:-1]).strip(); + line = utils.re_comments.sub('', line).strip(); if line == "": continue;