You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/06/09 20:30:24 UTC

[whimsy] 01/02: tab police

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit 0f4580e3a5c115e2d48ce12e2a2729aef4641b45
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Jun 9 16:23:58 2016 -0400

    tab police
---
 lib/whimsy/asf/svn.rb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index fe8160a..28996db 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -117,26 +117,26 @@ module ASF
           `svn info #{dir}`[/URL: (.*)/, 1], tmpdir]
 
         # retrieve the file to be updated (may not exist)
-	if basename
+        if basename
           tmpfile = File.join(tmpdir, basename).untaint
           _.system ['svn', 'update',
             ['--username', env.user, '--password', env.password],
             tmpfile]
-	else
-	  tmpfile = nil
-	end
+        else
+          tmpfile = nil
+        end
 
         # determine the new contents
-	if not tmpfile
-	  # updating a directory
+        if not tmpfile
+          # updating a directory
           previous_contents = contents = nil
           yield tmpdir, ''
         elsif File.file? tmpfile
-	  # updating an existing file
+          # updating an existing file
           previous_contents = File.read(tmpfile)
           contents = yield tmpdir, File.read(tmpfile)
         else
-	  # updating a new file
+          # updating a new file
           previous_contents = nil
           contents = yield tmpdir, ''
         end

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.