From: Dan Winship Date: Tue, 17 Jul 2012 12:27:46 +0000 (-0400) Subject: tld-parser.py: fix tabs vs spaces X-Git-Tag: LIBSOUP_2_39_4_1~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3feb16f90cb0d483cab634accbd34f1dd121c307;p=platform%2Fupstream%2Flibsoup.git tld-parser.py: fix tabs vs spaces and remove an unused import. patch from "marduk". https://bugzilla.gnome.org/show_bug.cgi?id=680089 --- diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py index 469f721..c1a0346 100755 --- a/libsoup/tld-parser.py +++ b/libsoup/tld-parser.py @@ -4,7 +4,7 @@ # Copyright (C) 2012 Red Hat, Inc. # Based on tld-parser.c Copyright (C) 2012 Igalia S.L. -import os,sys +import sys SOUP_TLD_RULE_NORMAL = 0 SOUP_TLD_RULE_MATCH_ALL = 1 << 0 @@ -32,9 +32,9 @@ for rule in tlds_file: domain = domain[1:] if not first: - inc_file.write(',\n') + inc_file.write(',\n') else: - first = False + first = False inc_file.write('{ "%s", %d }' % (domain.strip(), flags)) inc_file.write('\n')