From 189db2f52007b2ab2dc592c70cf84167cd612c4a Mon Sep 17 00:00:00 2001 From: IceArmy Date: Sat, 3 Sep 2011 23:44:42 -0700 Subject: [PATCH] Remove unneeded fs.umask --- python/pyphantomjs/filesystem.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/python/pyphantomjs/filesystem.py b/python/pyphantomjs/filesystem.py index 329f87b9..6ed59892 100644 --- a/python/pyphantomjs/filesystem.py +++ b/python/pyphantomjs/filesystem.py @@ -170,16 +170,6 @@ class FileSystem(QObject): qDebug("FileSystem.rename - %s: '%s' -> '%s'" % (e, source, target)) return False - @pyqtProperty(int) - def umask(self): - currentMask = os.umask(0) - os.umask(currentMask) - return currentMask - - @umask.setter - def umask(self, mask): - os.umask(mask) - ## # Directories ##