summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-30 20:09:05 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-30 20:09:05 +0000
commit7ffe8c4e44bc5b25f447b87abc7a296cc30a3885 (patch)
tree78412ec4185822448d30d35cfeef2f6494149bd3
parentc41fc8bbdefa7fe0c64bea302f1fdfd3f60b5b01 (diff)
downloadportage-7ffe8c4e44bc5b25f447b87abc7a296cc30a3885.tar.gz
portage-7ffe8c4e44bc5b25f447b87abc7a296cc30a3885.tar.bz2
portage-7ffe8c4e44bc5b25f447b87abc7a296cc30a3885.zip
Fix broken indentation from previous commits.
svn path=/main/trunk/; revision=14173
-rw-r--r--pym/portage/cache/sqlite.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pym/portage/cache/sqlite.py b/pym/portage/cache/sqlite.py
index d27a7b006..d5f765459 100644
--- a/pym/portage/cache/sqlite.py
+++ b/pym/portage/cache/sqlite.py
@@ -47,11 +47,11 @@ class database(fs_template.FsBased):
def _db_escape_string(self, s):
"""meta escaping, returns quoted string for use in sql statements"""
- if not isinstance(s, basestring):
- # Avoid potential UnicodeEncodeError in python-2.x by
- # only calling str() when it's absolutely necessary.
- s = str(s)
- # This is equivalent to the _quote function from pysqlite 1.1.
+ if not isinstance(s, basestring):
+ # Avoid potential UnicodeEncodeError in python-2.x by
+ # only calling str() when it's absolutely necessary.
+ s = str(s)
+ # This is equivalent to the _quote function from pysqlite 1.1.
return "'%s'" % s.replace("'", "''")
def _db_init_connection(self, config):