diff hgext/lfs/wireprotolfsserver.py @ 43115:4aa72cdf616f

py3: delete b'' prefix from safehasattr arguments Differential Revision: https://phab.mercurial-scm.org/D7029
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 06 Oct 2019 20:17:41 -0700
parents 687b865b95ad
children 579672b347d2
line wrap: on
line diff
--- a/hgext/lfs/wireprotolfsserver.py	Tue Oct 08 19:35:30 2019 -0700
+++ b/hgext/lfs/wireprotolfsserver.py	Sun Oct 06 20:17:41 2019 -0700
@@ -45,7 +45,7 @@
     if not rctx.repo.ui.configbool(b'experimental', b'lfs.serve'):
         return False
 
-    if not util.safehasattr(rctx.repo.svfs, b'lfslocalblobstore'):
+    if not util.safehasattr(rctx.repo.svfs, 'lfslocalblobstore'):
         return False
 
     if not req.dispatchpath: