avoid errornous type conversion. Compare strings instead

pull/2373/head
Leif Middelschulte 7 years ago
parent fab15d433a
commit 993a12c543
  1. 1
      mesonbuild/wrap/wrap.py

@ -238,7 +238,6 @@ class Resolver:
is_there = os.path.isdir(checkoutdir) is_there = os.path.isdir(checkoutdir)
if is_there: if is_there:
svn_info_output = subprocess.getoutput(' '.join(['svn', 'info', '--show-item', 'revision', checkoutdir])) svn_info_output = subprocess.getoutput(' '.join(['svn', 'info', '--show-item', 'revision', checkoutdir]))
current_revno = int(svn_info_output)
if current_revno == revno: if current_revno == revno:
return return

Loading…
Cancel
Save