Lucas Meneghel Rodrigues [2010-09-03, 01:17 +0200]: > On Thu, 2010-09-02 at 23:43 +0200, Frank Becker wrote: > > divya [2010-08-31, 07:56 +0200]:
Hi, > > > Autotest.client throws the following error while importing git > > > from autotest_lib.server import git > > > ImportError: No module named server > > That is the problem. You also need the server module installed in your > > PYTHONPATH. > > The problem here is that git resides on the server namespace, and that > namespace is not available to clients, at least in a typical > server-client setup. The solution I thought was to move git to the > common library namespace. I need to review your patch, eventually apply > it, and then create the patch to make the move. Yep, that would help me too. Maybe it is worth considering to include one of the git modules [0, 1] that exist for Python instead of the server.git.GitRepo() class. Otherwise, we may end up implementing that another time. [0] http://gitorious.org/git-python [1] http://samba.org/~jelmer/dulwich/ Bye, Frank -- Frank Becker <[email protected]> (jabber|mail) | http://twitter.com/41i3n8 GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD SILC-Net: a8 | Home: http://www.alien8.de | <<</>> http://www.c3d2.de "> Freedom is just chaos, with better lighting. <" Alan Dean Foster
signature.asc
Description: Digital signature
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
