Hi, Fix for my last patch (r4780). Thanks to John Admanski <[email protected]>.
Signed-off-by: Frank Becker <[email protected]> Index: git.py =================================================================== --- git.py (revision 4784) +++ git.py (working copy) @@ -249,6 +249,6 @@ elif all or remote_tracking: return gitlog.stdout.strip('\n') else: - branch = [b.lstrip('* ') for b in gitlog.stdout.split('\n') + branch = [b[2:] for b in gitlog.stdout.split('\n') if b.startswith('*')][0] return branch 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
