Show
Ignore:
Timestamp:
09/27/08 22:02:37 (16 years ago)
Author:
jerome
Message:

Removed unnecessary spaces at EOL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/reporters/text.py

    r3411 r3413  
    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/>. 
     
    2424 
    2525from pykota.reporter import BaseReporter 
    26      
    27 class Reporter(BaseReporter) :     
     26 
     27class Reporter(BaseReporter) : 
    2828    """Text reporter.""" 
    2929    def generateReport(self) : 
     
    3232        if self.isgroup : 
    3333            prefix = "Group" 
    34         else :     
     34        else : 
    3535            prefix = "User" 
    3636        for printer in self.printers : 
     
    4040            self.report.append(pjob) 
    4141            self.report.append(ppage) 
    42              
     42 
    4343            total = 0 
    4444            totalmoney = 0.0 
     
    5151                total += pages 
    5252                totalmoney += money 
    53                  
    54             if total or totalmoney :         
     53 
     54            if total or totalmoney : 
    5555                (tpage, tmoney) = self.getTotals(total, totalmoney) 
    5656                self.report.append((" " * 62) + tpage + tmoney) 
    5757            self.report.append((" " * 63) + self.getPrinterRealPageCounter(printer)) 
    58             self.report.append("")         
    59         if self.isgroup :     
     58            self.report.append("") 
     59        if self.isgroup : 
    6060            self.report.append(_("Totals may be inaccurate if some users are members of several groups.")) 
    61         return "\n".join(self.report)     
    62                          
     61        return "\n".join(self.report) 
     62