From 94a19afa3ff3d2579d4135c1d0a162fb497b5112 Mon Sep 17 00:00:00 2001 From: farhaanbukhsh Date: Mar 01 2016 08:08:09 +0000 Subject: Fix the commented code --- diff --git a/pagure/hooks/irc.py b/pagure/hooks/irc.py index 8d73eab..3fd6187 100644 --- a/pagure/hooks/irc.py +++ b/pagure/hooks/irc.py @@ -125,10 +125,10 @@ class Hook(BaseHook): # Install the hook itself #hook_file = os.path.join(hook_files, 'git_irc.py') - # if not os.path.exists(hook_file): - # os.symlink( - # hook_file, - # os.path.join(repopath, 'hooks', 'post-receive.irc') + #if not os.path.exists(hook_file): + #os.symlink( + #hook_file, + #os.path.join(repopath, 'hooks', 'post-receive.irc') #) @classmethod @@ -142,5 +142,5 @@ class Hook(BaseHook): repopath = get_repo_path(project) #hook_path = os.path.join(repopath, 'hooks', 'post-receive.irc') - # if os.path.exists(hook_path): - # os.unlink(hook_path) + #if os.path.exists(hook_path): + #os.unlink(hook_path)