ConDict

Check-in [12d2a8d10e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:small edit
Timelines: family | ancestors | descendants | both | testing
Files: files | file ages | folders
SHA1:12d2a8d10e0f0d587c4d7618efae70f681beafb4
User & Date: zorro 2012-09-03 18:23:01
Context
2012-09-03
18:45
add change name possible check-in: 8d99f26ef3 user: zorro tags: testing
18:24
merge main functionality check-in: ee613e478b user: zorro tags: trunk
18:23
small edit check-in: 12d2a8d10e user: zorro tags: testing
18:18
help, exit - handling check-in: a5a78775f9 user: zorro tags: testing
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to condt.py.

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
        return valid
    def __del__(self):
        self.connect.close()

class Condt(BaseConDict):
    """Condt - class for ConDict"""
    COMMANDS = {'.help': {'desc': 'list commands', 'command': None}, 
        '.chname': {'desc': 'change current user name', 'command': None}, 
        '.chpassword': {'desc': 'change current password', 'command': None},
        '.list': {'desc': 'list users words', 'command': None},
        '.exit': {'desc': 'quit from program', 'command': None},
        }
    def __init__(self, name, dbfile):
        super().__init__(name, dbfile)       
        self.__pcounter = 3
        self.init_command()
        self.user_id = self.get_user()







|
|
|







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
        return valid
    def __del__(self):
        self.connect.close()

class Condt(BaseConDict):
    """Condt - class for ConDict"""
    COMMANDS = {'.help': {'desc': 'list commands', 'command': None}, 
        # '.chname': {'desc': 'change current user name', 'command': None}, 
        # '.chpassword': {'desc': 'change current password', 'command': None},
        # '.list': {'desc': 'list users words', 'command': None},
        '.exit': {'desc': 'quit from program', 'command': None},
        }
    def __init__(self, name, dbfile):
        super().__init__(name, dbfile)       
        self.__pcounter = 3
        self.init_command()
        self.user_id = self.get_user()