~ubuntu-branches/ubuntu/utopic/freeguide/utopic

« back to all changes in this revision

Viewing changes to src/freeguide/plugins/grabber/xmltv/GrabberXMLTV.java.rej

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Watkins
  • Date: 2008-09-07 15:49:32 UTC
  • mfrom: (1.2.6 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080907154932-2jvgv76btq068fe0
Tags: 0.10.9-1
* New upstream release. (Closes: #492789)
* Moved package from contrib to main. (Closes: #492544)
* Added lintian override for 'build-depends-without-arch-dep ant', as ant is
  used in the clean target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
***************
2
 
*** 352,358 ****
3
 
          Application.getInstance(  ).getLogger(  ).finest( 
4
 
              "Run command: " + cmd );
5
 
  
6
 
-         logger.info( MessageFormat.format( "Message.Command", cmd ) );
7
 
  
8
 
          int resultCode =
9
 
              execGrabCmd( storage, Utils.parseCommand( cmd ), progress, logger );
10
 
--- 352,359 ----
11
 
          Application.getInstance(  ).getLogger(  ).finest( 
12
 
              "Run command: " + cmd );
13
 
  
14
 
+         logger.info( 
15
 
+             MessageFormat.format( i18n.getString( "Message.Command" ), cmd ) );
16
 
  
17
 
          int resultCode =
18
 
              execGrabCmd( storage, Utils.parseCommand( cmd ), progress, logger );
19
 
***************
20
 
*** 360,366 ****
21
 
          Application.getInstance(  ).getLogger(  )
22
 
                     .finest( "Result code = " + resultCode );
23
 
  
24
 
-         logger.info( MessageFormat.format( "Message.ResultCode", resultCode ) );
25
 
      }
26
 
  
27
 
      protected int execGrabCmd( 
28
 
--- 361,374 ----
29
 
          Application.getInstance(  ).getLogger(  )
30
 
                     .finest( "Result code = " + resultCode );
31
 
  
32
 
+         logger.info( 
33
 
+             MessageFormat.format( 
34
 
+                 i18n.getString( "Message.ResultCode" ), resultCode ) );
35
 
36
 
+         if( resultCode != 0 )
37
 
+         {
38
 
+             throw new Exception( "grabber command execution error" );
39
 
+         }
40
 
      }
41
 
  
42
 
      protected int execGrabCmd(