[tor-commits] [pyonionoo/master] make fingerprint, hashed_fingerprint case sensitive

karsten at torproject.org karsten at torproject.org
Sat Sep 29 16:06:03 UTC 2012


commit 56847d9bfa63b8c5ccfba225f5bdbf06b864e610
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date:   Fri Sep 28 12:07:11 2012 +0530

    make fingerprint, hashed_fingerprint case sensitive
    
    Now that we have a lookup column which is case insensitive,
    we can make fingerprint and hashed_fingerprint case sensitive.
---
 pyonionoo/database.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyonionoo/database.py b/pyonionoo/database.py
index f84f2c4..6b4f52c 100644
--- a/pyonionoo/database.py
+++ b/pyonionoo/database.py
@@ -42,8 +42,8 @@ summary_schema = """
 id INTEGER PRIMARY KEY,
 type TEXT,
 nickname TEXT,
-fingerprint TEXT collate NOCASE,
-hashed_fingerprint TEXT collate NOCASE,
+fingerprint,
+hashed_fingerprint,
 running BOOLEAN,
 time_published TEXT,
 or_port TEXT,





More information about the tor-commits mailing list