diff hglib/client.py @ 100:dd63d69a5ebf

client: make _parserevs a static method
author Idan Kamara <idankk86@gmail.com>
date Tue, 17 Jan 2012 22:26:20 +0200
parents 2b36619ec0a0
children 86ff8611a8fa
line wrap: on
line diff
--- a/hglib/client.py	Tue Jan 17 22:36:48 2012 +0200
+++ b/hglib/client.py	Tue Jan 17 22:26:20 2012 +0200
@@ -96,7 +96,8 @@
         else:
             return channel, self.server.stdout.read(length)
 
-    def _parserevs(self, splitted):
+    @staticmethod
+    def _parserevs(splitted):
         ''' splitted is a list of fields according to our rev.style, where each 6
         fields compose one revision. '''
         revs = []