Subversion Repositories SmartDukaan

Rev

Rev 14248 | Rev 15067 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14248 Rev 14249
Line 92... Line 92...
92
            con = pymongo.MongoClient(host, port)
92
            con = pymongo.MongoClient(host, port)
93
        except Exception, e:
93
        except Exception, e:
94
            print e
94
            print e
95
            return None
95
            return None
96
    return con
96
    return con
97
 
-
 
98
def main():
-
 
99
    pushData()
-
 
100
    
97
    
101
if __name__=='__main__':
98
if __name__=='__main__':
102
    main()
-
 
103
99
    pushData()
-
 
100
104
101