jhbuild r1985 - in trunk: . jhbuild/modtypes



Author: fpeters
Date: Mon Mar 31 12:18:46 2008
New Revision: 1985
URL: http://svn.gnome.org/viewvc/jhbuild?rev=1985&view=rev

Log:
* jhbuild/modtypes/tarball.py: set moduleset uri to fake repository
object, so patches are downloaded from the right location.
(closes: #524328)



Modified:
   trunk/ChangeLog
   trunk/jhbuild/modtypes/tarball.py

Modified: trunk/jhbuild/modtypes/tarball.py
==============================================================================
--- trunk/jhbuild/modtypes/tarball.py	(original)
+++ trunk/jhbuild/modtypes/tarball.py	Mon Mar 31 12:18:46 2008
@@ -72,7 +72,9 @@
     from autotools import AutogenModule
     from jhbuild.versioncontrol.tarball import TarballBranch, TarballRepository
 
+    # create a fake TarballRepository, and give it the moduleset uri
     repo = TarballRepository(config, None, None)
+    repo.moduleset_uri = uri
 
     branch = TarballBranch(repo, source_url, version, checkoutdir,
             source_size, source_md5, None)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]