# # # patch "README" # from [e945a7f1510ec5d9d2f862a08723275309cf6c93] # to [5b724b9a8a22eef313cd72fe23500d54995213ca] # # patch "tracvc/mtn/automate.py" # from [649b53adf130b3f5f8208d2192d81c6a09db905d] # to [cbe842914acc9803f65e5ba2417682ae4a89b49e] # ============================================================ --- README e945a7f1510ec5d9d2f862a08723275309cf6c93 +++ README 5b724b9a8a22eef313cd72fe23500d54995213ca @@ -15,8 +15,7 @@ * Python 2.4. - * An installation of Trac. You can either use 0.10, or a check-out - of a devel version or of the vc-refactoring branch. + * An installation of Trac. You can either use 0.10 or 0.11dev. * Python setuptools >= 0.6. ============================================================ --- tracvc/mtn/automate.py 649b53adf130b3f5f8208d2192d81c6a09db905d +++ tracvc/mtn/automate.py cbe842914acc9803f65e5ba2417682ae4a89b49e @@ -97,7 +97,7 @@ class Automate: status, cont, val = self._read_packet() result += val if cont == 'l': break - return status, ''.join(result) + return status, result def _write_cmd(self, cmd, args): """Assemble command and args and send it to mtn.""" @@ -191,7 +191,6 @@ class MTN: def select(self, selector): """Returns a list of revisions selected by the selector.""" - # for now, use a whitelist to prevent SQL injections if REVID_RULE.match(selector): return [selector] status, result = self.automate.command("select", selector)