Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-11-20 17:54:39 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-11-20 17:54:39 +0300
commit458f8c1f80ff20ba3d6e439c65500ed1c1d81ba4 (patch)
tree539663e2020b6a408a83f708701aa02011c26011 /lib
parent7c54c63ac14eb8f5ce0e364d709988fcfe4dda64 (diff)
Explain why we create a StringIO
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/gitlab/backup.rake2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
index 99e84f62c66..0230fbb010b 100644
--- a/lib/tasks/gitlab/backup.rake
+++ b/lib/tasks/gitlab/backup.rake
@@ -79,6 +79,8 @@ namespace :gitlab do
def configure_cron_mode
if ENV['CRON']
+ # We need an object we can say 'puts' and 'print' to; let's use a
+ # StringIO.
require 'stringio'
$progress = StringIO.new
else