[libsoup] tld-parser.py: fix tabs vs spaces
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] tld-parser.py: fix tabs vs spaces
- Date: Tue, 17 Jul 2012 12:28:49 +0000 (UTC)
commit 3feb16f90cb0d483cab634accbd34f1dd121c307
Author: Dan Winship <danw gnome org>
Date: Tue Jul 17 08:27:46 2012 -0400
tld-parser.py: fix tabs vs spaces
and remove an unused import. patch from "marduk".
https://bugzilla.gnome.org/show_bug.cgi?id=680089
libsoup/tld-parser.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]