Show
Ignore:
Timestamp:
10/06/08 00:22:07 (16 years ago)
Author:
jerome
Message:

Removed spaces at EOL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/ooo.py

    r3410 r3436  
    88# the Free Software Foundation, either version 3 of the License, or 
    99# (at your option) any later version. 
    10 #  
     10# 
    1111# This program is distributed in the hope that it will be useful, 
    1212# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1313# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1414# GNU General Public License for more details. 
    15 #  
     15# 
    1616# You should have received a copy of the GNU General Public License 
    1717# along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     
    3232    required = [ "xvfb-run", "xauth", "abiword", "gs" ] 
    3333    format = "ISO/IEC DIS 26300" 
    34     def isValid(self) :         
     34    def isValid(self) : 
    3535        """Returns True if data is OpenDocument, else False.""" 
    3636        if self.firstblock[:2] == "PK" : 
     
    3939                self.contentxml = self.archive.read("content.xml") 
    4040                self.metaxml = self.archive.read("meta.xml") 
    41             except :     
     41            except : 
    4242                return False 
    4343            else : 
    4444                return True 
    45         else :     
     45        else : 
    4646            return False 
    47              
     47 
    4848    def getJobSize(self) : 
    4949        """Counts pages in an OpenOffice.org document. 
    50          
     50 
    5151           Algorithm by Jerome Alet. 
    5252        """