summaryrefslogtreecommitdiff
path: root/community/mget/fix-warnings.patch
blob: 042f5e5b53fc50a7f59f665c689ecc3496697c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff -Nur mget-1.50.old/lib/mget/error_handling.rb mget-1.50/lib/mget/error_handling.rb
--- mget-1.50.old/lib/mget/error_handling.rb	2008-06-12 19:57:11.000000000 +0300
+++ mget-1.50/lib/mget/error_handling.rb	2009-11-02 23:39:47.587497291 +0200
@@ -48,7 +48,7 @@
   def setTrace(string)
     if trace?
       @log.info(string)
-	end
+    end
   end
   
   def logDir()
@@ -63,4 +63,4 @@
     Dir.mkdir(path) unless File.exists?(path) && File.directory?(path)
     return path
   end
-end
\ No newline at end of file
+end
diff -Nur mget-1.50.old/lib/mget/mget.rb mget-1.50/lib/mget/mget.rb
--- mget-1.50.old/lib/mget/mget.rb	2008-06-12 19:57:11.000000000 +0300
+++ mget-1.50/lib/mget/mget.rb	2009-11-02 23:36:38.317512845 +0200
@@ -111,7 +111,7 @@
       else
         @target = target
       end
-	end
+    end
   end
 
   def download=(flag)
@@ -158,7 +158,7 @@
 		self.input=fileName   # force self check again, but without validation
 	  end
 	  return
-	end
+    end
 	setTrace("File.exists?="+fileName)
     if File.exists? fileName
       if File.zero? fileName