[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r26140 - in branches/ctypes-python-bindings: csvn test

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-08-17 20:53:33 CEST

sage@tigris.org wrote:
> Author: sage
> Date: Fri Aug 17 11:47:54 2007
> New Revision: 26140
>

> +
> + def test_lock(self):
> + self.wc.lock([os.path.join(wc_location,"trunk","README.txt")],
> + "Test lock")
> + self.wc.info(path="trunk/README.txt",
> + info_func=self._info_reciever)

I think from a style point of view, we always indent function and method
arguments one column to the right of the opening (:

Also, ideally, we should have spaces after the ,'s also.

      self.wc.lock([os.path.join(wc_location, "trunk", "README.txt")],
                   "Test lock")

You can look through the existing Python bindings to see the coding style.

Regards,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 17 20:51:23 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.