Show More
@@ -59,10 +59,17 b' log = logging.getLogger(__name__)' | |||||
59 | class UserTemp(object): |
|
59 | class UserTemp(object): | |
60 | def __init__(self, user_id): |
|
60 | def __init__(self, user_id): | |
61 | self.user_id = user_id |
|
61 | self.user_id = user_id | |
|
62 | ||||
|
63 | def __repr__(self): | |||
|
64 | return "<%s('id:%s')>" % (self.__class__.__name__, self.user_id) | |||
|
65 | ||||
62 | class RepoTemp(object): |
|
66 | class RepoTemp(object): | |
63 | def __init__(self, repo_id): |
|
67 | def __init__(self, repo_id): | |
64 | self.repo_id = repo_id |
|
68 | self.repo_id = repo_id | |
65 |
|
69 | |||
|
70 | def __repr__(self): | |||
|
71 | return "<%s('id:%s')>" % (self.__class__.__name__, self.repo_id) | |||
|
72 | ||||
66 | class ScmModel(BaseModel): |
|
73 | class ScmModel(BaseModel): | |
67 | """Generic Scm Model |
|
74 | """Generic Scm Model | |
68 | """ |
|
75 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now