[Piuparts-commits] rev 125 - / trunk

Lars Wirzenius lars at alioth.debian.org
Tue Jan 22 12:22:22 UTC 2008


Author: lars
Date: 2008-01-22 12:22:22 +0000 (Tue, 22 Jan 2008)
New Revision: 125

Modified:
   /
   trunk/piuparts-master.py
Log:
Oops. chmod does not honor umask (I'm so stupid people who've never even heard of me pity me), so don't use 0666, use 0644 instead.


Property changes on: 
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2008-01-22 14:15:28.960000038 +0200
committer: Lars Wirzenius <liw at iki.fi>
properties: 
	branch-nick: piuparts.upstream

   + timestamp: 2008-01-22 14:22:07.772000074 +0200
committer: Lars Wirzenius <liw at iki.fi>
properties: 
	branch-nick: piuparts.upstream

Name: bzr:revision-id:v3-none
   - 104 liw at iki.fi-20071105202024-ahct8ts13awaqfku
105 liw at iki.fi-20071105212653-ttr3062izcfvnyj7
106 liw at iki.fi-20071105212929-y8o8937i99hqouad
107 liw at iki.fi-20071108202016-kb4x591yu6kxbt03
108 liw at iki.fi-20071108203319-yn2spqgvngjw0ydc
109 liw at iki.fi-20071108205411-ztzieylautujrbet
110 liw at iki.fi-20071129200714-xtqnfccm1rjof5e7
111 liw at iki.fi-20071207174615-4wey2v30mft1p9ak
112 liw at iki.fi-20071207195101-sray98kgdx0vnip5
123 liw at iki.fi-20080121183310-39shlqe4z4ge2iyp
124 liw at iki.fi-20080121183519-m9ojfkm9zzp4ol4x
125 liw at iki.fi-20080122121528-cj35qqhrernrzqm1

   + 104 liw at iki.fi-20071105202024-ahct8ts13awaqfku
105 liw at iki.fi-20071105212653-ttr3062izcfvnyj7
106 liw at iki.fi-20071105212929-y8o8937i99hqouad
107 liw at iki.fi-20071108202016-kb4x591yu6kxbt03
108 liw at iki.fi-20071108203319-yn2spqgvngjw0ydc
109 liw at iki.fi-20071108205411-ztzieylautujrbet
110 liw at iki.fi-20071129200714-xtqnfccm1rjof5e7
111 liw at iki.fi-20071207174615-4wey2v30mft1p9ak
112 liw at iki.fi-20071207195101-sray98kgdx0vnip5
123 liw at iki.fi-20080121183310-39shlqe4z4ge2iyp
124 liw at iki.fi-20080121183519-m9ojfkm9zzp4ol4x
125 liw at iki.fi-20080122121528-cj35qqhrernrzqm1
126 liw at iki.fi-20080122122207-otbgene8eg9o8ytw


Modified: trunk/piuparts-master.py
===================================================================
--- trunk/piuparts-master.py	2008-01-22 12:15:41 UTC (rev 124)
+++ trunk/piuparts-master.py	2008-01-22 12:22:22 UTC (rev 125)
@@ -198,7 +198,7 @@
     def write_counts_summary(self):
         fd, name = tempfile.mkstemp(prefix="counts.txt.", dir=".")
         os.close(fd)
-        os.chmod(name, 0666)
+        os.chmod(name, 0644)
 
         failed = self.count_packages_in_states(self._failed_states)
         passed = self.count_packages_in_states(self._passed_states)
@@ -220,7 +220,7 @@
     def write_packages_summary(self):
         fd, name = tempfile.mkstemp(prefix="packages.txt.", dir=".")
         os.close(fd)
-        os.chmod(name, 0666)
+        os.chmod(name, 0644)
 
         f = file(name, "w")
         for pkgname in self._db._packages:




More information about the Piuparts-commits mailing list