Added some files to the blacklist list,

they are on wescamp and shouldn't be removed upon upload of the
campaign.
This commit is contained in:
Mark de Wever 2007-11-18 19:29:08 +00:00
parent b548402bb4
commit 15453a43cc

View file

@ -164,7 +164,12 @@ if __name__ == "__main__":
# Update the directory
svn = libsvn.SVN(svn_dir + "/" + addon)
svn.update()
if(svn.copy_to_svn(temp_dir, ["translations"])):
# Translation needs to be prevented from the campaign to overwrite
# the ones in wescamp.
# The other files are present in wescamp and shouldn't be deleted.
if(svn.copy_to_svn(temp_dir, ["translations", "po", "campaign.def",
"config.status", "Makefile"])):
svn.commit("wescamp_client: automatic update of addon '"
+ addon + "'")
logging.info("New version of addon '%s' uploaded.", addon)