6321: installed rcs and tried to make an archive
svn: r21083
This commit is contained in:
parent
6c313b0a58
commit
ecd18dfbce
@ -50,7 +50,7 @@ else:
|
||||
import logging
|
||||
LOG = logging.getLogger(".DbManager")
|
||||
|
||||
from gramps.gen.constfunc import win
|
||||
from gramps.gen.constfunc import win, UNITYPE
|
||||
if win():
|
||||
_RCS_FOUND = os.system("rcs -V >nul 2>nul") == 0
|
||||
if _RCS_FOUND and "TZ" not in os.environ:
|
||||
@ -798,6 +798,9 @@ def find_revisions(name):
|
||||
get_next = False
|
||||
if os.path.isfile(name):
|
||||
for line in proc.stdout:
|
||||
if sys.version_info[0] >= 3 and not isinstance(line, UNITYPE):
|
||||
# we assume utf-8 ...
|
||||
line = line.decode('utf-8')
|
||||
match = rev.match(line)
|
||||
if match:
|
||||
rev_str = copy.copy(match.groups()[0])
|
||||
|
Loading…
Reference in New Issue
Block a user