Show More
@@ -268,9 +268,3 if __name__=='__main__': | |||
|
268 | 268 | update_md5(sys.argv[2:]) |
|
269 | 269 | else: |
|
270 | 270 | main(sys.argv[1:]) |
|
271 | ||
|
272 | ||
|
273 | ||
|
274 | ||
|
275 | ||
|
276 |
@@ -76,4 +76,3 def make_app(global_conf, full_stack=Tru | |||
|
76 | 76 | app.config = config |
|
77 | 77 | |
|
78 | 78 | return app |
|
79 |
@@ -57,4 +57,3 class AdminController(BaseController): | |||
|
57 | 57 | if request.params.get('partial'): |
|
58 | 58 | return c.log_data |
|
59 | 59 | return render('admin/admin.html') |
|
60 |
@@ -103,4 +103,3 class ChangelogController(BaseRepoContro | |||
|
103 | 103 | data.append(('', vtx, edges)) |
|
104 | 104 | |
|
105 | 105 | c.jsdata = json.dumps(data) |
|
106 |
@@ -107,5 +107,3 class ErrorController(BaseController): | |||
|
107 | 107 | return _('The resource could not be found') |
|
108 | 108 | if code == 500: |
|
109 | 109 | return _('The server encountered an unexpected condition which prevented it from fulfilling the request.') |
|
110 | ||
|
111 |
@@ -301,4 +301,3 class FilesController(BaseRepoController | |||
|
301 | 301 | hist_l.append(tags_group) |
|
302 | 302 | |
|
303 | 303 | return hist_l |
|
304 |
@@ -238,11 +238,3 class JournalController(BaseController): | |||
|
238 | 238 | |
|
239 | 239 | response.content_type = feed.mime_type |
|
240 | 240 | return feed.writeString('utf-8') |
|
241 | ||
|
242 | ||
|
243 | ||
|
244 | ||
|
245 | ||
|
246 | ||
|
247 | ||
|
248 |
@@ -104,5 +104,3 if __name__ == "__main__": | |||
|
104 | 104 | B_MANAGER.backup_repos() |
|
105 | 105 | B_MANAGER.transfer_files() |
|
106 | 106 | B_MANAGER.rm_file() |
|
107 | ||
|
108 |
@@ -97,11 +97,3 def locked_task(func): | |||
|
97 | 97 | return 'Task with key %s already running' % lockkey |
|
98 | 98 | |
|
99 | 99 | return decorator(__wrapper, func) |
|
100 | ||
|
101 | ||
|
102 | ||
|
103 | ||
|
104 | ||
|
105 | ||
|
106 | ||
|
107 |
@@ -404,7 +404,3 def __get_codes_stats(repo_name): | |||
|
404 | 404 | map(aggregate, tip.walk('/')) |
|
405 | 405 | |
|
406 | 406 | return code_stats or {} |
|
407 | ||
|
408 | ||
|
409 | ||
|
410 |
@@ -80,4 +80,3 class ColorFormatterSql(logging.Formatte | |||
|
80 | 80 | |
|
81 | 81 | colored_record = start + def_record + end |
|
82 | 82 | return colored_record |
|
83 |
@@ -516,4 +516,3 class DbManage(object): | |||
|
516 | 516 | except: |
|
517 | 517 | self.sa.rollback() |
|
518 | 518 | raise |
|
519 |
@@ -13,4 +13,3 def import_path(fullpath): | |||
|
13 | 13 | reload(module) # Might be out of date during tests |
|
14 | 14 | del sys.path[-1] |
|
15 | 15 | return module |
|
16 |
@@ -113,5 +113,3 def upgrade(migrate_engine): | |||
|
113 | 113 | def downgrade(migrate_engine): |
|
114 | 114 | meta = MetaData() |
|
115 | 115 | meta.bind = migrate_engine |
|
116 | ||
|
117 |
@@ -96,5 +96,3 def upgrade(migrate_engine): | |||
|
96 | 96 | def downgrade(migrate_engine): |
|
97 | 97 | meta = MetaData() |
|
98 | 98 | meta.bind = migrate_engine |
|
99 | ||
|
100 |
@@ -638,5 +638,3 def repo_link(groups_and_repos): | |||
|
638 | 638 | return link_to(group.group_name, url('repos_group', id=group.group_id)) |
|
639 | 639 | return literal(' » '.join(map(make_link, groups)) + \ |
|
640 | 640 | " » " + repo_name) |
|
641 | ||
|
642 |
@@ -113,4 +113,3 def log_push_action(ui, repo, **kwargs): | |||
|
113 | 113 | action_logger(username, action, repository, extra_params['ip']) |
|
114 | 114 | |
|
115 | 115 | return 0 |
|
116 |
@@ -49,5 +49,3 class ProfilingMiddleware(object): | |||
|
49 | 49 | resp += '</pre>' |
|
50 | 50 | |
|
51 | 51 | return resp |
|
52 | ||
|
53 |
@@ -387,4 +387,3 class DbMigrateVersion(Base): | |||
|
387 | 387 | repository_id = Column('repository_id', String(250), primary_key=True) |
|
388 | 388 | repository_path = Column('repository_path', Text) |
|
389 | 389 | version = Column('version', Integer) |
|
390 |
@@ -410,4 +410,3 class ScmModel(BaseModel): | |||
|
410 | 410 | except (DatabaseError,): |
|
411 | 411 | log.error(traceback.format_exc()) |
|
412 | 412 | self.sa.rollback() |
|
413 |
@@ -311,4 +311,3 removed extra unicode conversion in diff | |||
|
311 | 311 | f_path=f_path)) |
|
312 | 312 | |
|
313 | 313 | assert "There is no file nor directory at the given path: %r at revision %r" % (f_path, rev[:12]) in response.session['flash'][0][1], 'No flash message' |
|
314 |
@@ -228,6 +228,3 class TestLoginController(TestController | |||
|
228 | 228 | print response.session['flash'] |
|
229 | 229 | assert 'You have successfully registered into rhodecode' in response.session['flash'][0], 'No flash message about user registration' |
|
230 | 230 | assert 'Your new password was sent' in response.session['flash'][1], 'No flash message about password reset' |
|
231 | ||
|
232 | ||
|
233 |
@@ -33,4 +33,3 class TestSearchController(TestControlle | |||
|
33 | 33 | print response.body |
|
34 | 34 | assert '4 results' in response.body, 'no message about proper search results' |
|
35 | 35 | assert 'Permission denied' not in response.body, 'Wrong permissions settings for that repo and user' |
|
36 |
@@ -47,4 +47,3 class TestSettingsController(TestControl | |||
|
47 | 47 | repo_name=fork_name)) |
|
48 | 48 | |
|
49 | 49 | assert 'Fork of %s' % repo_name in response.body, 'no message about that this repo is a fork' |
|
50 |
@@ -29,4 +29,3 class TestSummaryController(TestControll | |||
|
29 | 29 | r.enable_statistics = True |
|
30 | 30 | self.sa.add(r) |
|
31 | 31 | self.sa.commit() |
|
32 |
General Comments 0
You need to be logged in to leave comments.
Login now