legal-auto: the pickle path needs to be a file
This commit is contained in:
parent
8363fe3875
commit
a2e1094734
@ -4,6 +4,7 @@
|
||||
|
||||
from pprint import pprint
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import re
|
||||
import logging
|
||||
@ -191,7 +192,7 @@ class LegalAuto(ReviewBot.ReviewBot):
|
||||
self.delete_from_db(req.reqid)
|
||||
|
||||
def _pkl_path(self):
|
||||
return CacheManager.directory('legal-auto')
|
||||
return os.path.join(CacheManager.directory('legal-auto'), 'packages.dump')
|
||||
|
||||
def update_project(self, project):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user