File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class NoneVersion(Version):
144144 @classmethod
145145 def is_valid (cls , string ):
146146 return string == "vers:none/*"
147-
147+
148148
149149class LexicographicVersion (Version ):
150150 @classmethod
@@ -154,18 +154,19 @@ def build_value(cls, string):
154154 """
155155 Create a string, even if, e.g., an integer is given
156156 """
157+
157158 @classmethod
158159 def normalize (cls , string ):
159160 return remove_spaces (str (string ))
160161
161162 def __lt__ (self , other ):
162- return self .value .encode (' utf-8' ) < other .value .encode (' utf-8' )
163+ return self .value .encode (" utf-8" ) < other .value .encode (" utf-8" )
163164
164165 def __gt__ (self , other ):
165- return self .value .encode (' utf-8' ) > other .value .encode (' utf-8' )
166+ return self .value .encode (" utf-8" ) > other .value .encode (" utf-8" )
166167
167168 def __eq__ (self , other ):
168- return self .value .encode (' utf-8' ) == other .value .encode (' utf-8' )
169+ return self .value .encode (" utf-8" ) == other .value .encode (" utf-8" )
169170
170171
171172class IntdotVersion (Version ):
You can’t perform that action at this time.
0 commit comments