diff --git a/pagure/lib/git_auth.py b/pagure/lib/git_auth.py index aaa3f83..939e053 100644 --- a/pagure/lib/git_auth.py +++ b/pagure/lib/git_auth.py @@ -275,9 +275,9 @@ class Gitolite2Auth(GitAuthHelper): gitolite configuration file, used here to determine that a part of the configuration file should be cleaned at the top. :type preconf: None or str - :kwarg postconf: the content of the file to include at the bottom of the - gitolite configuration file, used here to determine that a part of - the configuration file should be cleaned at the bottom. + :kwarg postconf: the content of the file to include at the bottom of + the gitolite configuration file, used here to determine that a part + of the configuration file should be cleaned at the bottom. :type postconf: None or str """ diff --git a/pagure/lib/tasks.py b/pagure/lib/tasks.py index 4d9ebdc..41a84f5 100644 --- a/pagure/lib/tasks.py +++ b/pagure/lib/tasks.py @@ -368,7 +368,8 @@ def fork(name, namespace, user_owner, user_forker, editbranch, editfile): pygit2.init_repository(docrepo, bare=True) if APP.config.get('TICKETS_FOLDER'): - ticketrepo = os.path.join(APP.config['TICKETS_FOLDER'], repo_to.path) + ticketrepo = os.path.join( + APP.config['TICKETS_FOLDER'], repo_to.path) if os.path.exists(ticketrepo): shutil.rmtree(forkreponame) shutil.rmtree(docrepo)