largefiles: stop using <> operator in favor of !=
authorAugie Fackler <raf@durin42.com>
Tue, 01 Jan 2013 13:04:40 -0600
changeset 18182 e6db64abfa87
parent 18181 c7d258cd77e5
child 18183 e1caaeb5a2ed
largefiles: stop using <> operator in favor of != <> has been deprecated for a while, and != is futureproof
hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py	Tue Jan 01 13:18:33 2013 -0600
+++ b/hgext/largefiles/reposetup.py	Tue Jan 01 13:04:40 2013 -0600
@@ -355,7 +355,7 @@
                 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: