mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
fix version.py path
This commit is contained in:
parent
b72d0190e9
commit
17668f1c87
1 changed files with 2 additions and 2 deletions
|
|
@ -9,10 +9,10 @@ from os.path import abspath, dirname, join
|
|||
import re
|
||||
|
||||
|
||||
def certbot_version(caller_dir):
|
||||
def certbot_version(letstest_scripts_dir):
|
||||
"""Return the version number stamped in certbot/__init__.py."""
|
||||
return re.search('''^__version__ = ['"](.+)['"].*''',
|
||||
file_contents(join(dirname(dirname(dirname(caller_dir))),
|
||||
file_contents(join(dirname(dirname(letstest_scripts_dir)),
|
||||
'certbot',
|
||||
'certbot',
|
||||
'__init__.py')),
|
||||
|
|
|
|||
Loading…
Reference in a new issue