# HG changeset patch # User Augie Fackler # Date 2013-01-01 19:04:40 # Node ID e6db64abfa872c4ac2a62dd7450829d5b52b208e # Parent c7d258cd77e5a599bd28f37b0e2d93b24adff7f3 largefiles: stop using <> operator in favor of != <> has been deprecated for a while, and != is futureproof diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py +++ b/hgext/largefiles/reposetup.py @@ -355,7 +355,7 @@ def reposetup(ui, repo): lfdirstate = lfutil.openlfdirstate(ui, self) for standin in standins: lfile = lfutil.splitstandin(standin) - if lfdirstate[lfile] <> 'r': + if lfdirstate[lfile] != 'r': lfutil.updatestandin(self, standin) lfdirstate.normal(lfile) else: