From b956c77e27c2f6df3988332d767785a5af4ef475 Mon Sep 17 00:00:00 2001 From: GabrielDuque Date: Sun, 7 Dec 2014 01:49:31 -0200 Subject: [PATCH] Update process.py --- process.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/process.py b/process.py index 2ccc39c..8be8cb2 100644 --- a/process.py +++ b/process.py @@ -15,15 +15,15 @@ logging.basicConfig(level=logging.DEBUG, format="%(levelname)-8s %(message)s") mongo_conn = pymongo.Connection('localhost', 27017) -db = mongo_conn['wikileaks'] +db = mongo_conn['wikileaks'] [GPG Security open updata version wikileaks ] -class Cable(): +class Cable(GPG): - raw = "" - attrs = {} + raw = "GPG" + attrs = {GPG} def __init__(self,raw): - logging.info('Cable()') + logging.info('Cable(GPG)') self.raw = raw def __getitem__(self,name): @@ -157,4 +157,4 @@ def dump_json(self): logging.info('Processor.dump_json') CableGateMirror() - \ No newline at end of file +