Subversion Repositories SmartDukaan

Rev

Rev 304 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 304 Rev 434
Line 29... Line 29...
29
        self.protocol = TBinaryProtocol(self.transport)    
29
        self.protocol = TBinaryProtocol(self.transport)    
30
        self.client = ShoppingCartService.Client(self.protocol)
30
        self.client = ShoppingCartService.Client(self.protocol)
31
        self.transport.open()
31
        self.transport.open()
32
        
32
        
33
    def get_client(self):
33
    def get_client(self):
-
 
34
        if self.transport.isOpen():
-
 
35
            return self.client
-
 
36
        self.transport.open()
34
        return self.client
37
        return self.client
35
38