Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions env/lib/python3.9/site-packages/py/_path/svnwc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1107,8 +1107,7 @@ def fromstring(data, rootwcpath, rev=None, modrev=None, author=None):

if wcpath == rootwcpath:
rootstatus.rev = rev
rootstatus.modrev = modrev
rootstatus.author = author
rootstatus.modrev = modrevrootstatus.author = author
rootstatus.date = date

# handle repos-status element (remote info)
Expand Down Expand Up @@ -1207,9 +1206,9 @@ def make_recursive_propdict(wcroot,
def importxml(cache=[]):
if cache:
return cache
from xml.dom import minidom
from defusedxml.minidom import parse, parseString
from xml.parsers.expat import ExpatError
cache.extend([minidom, ExpatError])
cache.extend([parse, parseString, ExpatError])
return cache

class LogEntry:
Expand All @@ -1236,5 +1235,3 @@ def __init__(self, logentry):
def __repr__(self):
return '<Logentry rev=%d author=%s date=%s>' % (
self.rev, self.author, self.date)