Legoktm has submitted this change and it was merged.

Change subject: Use >> to append rather than > which overwrites.
......................................................................


Use >> to append rather than > which overwrites.

Change-Id: I13721ec500f8b2bd52dff0fc318983eb3fadc277
---
M .travis.yml
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Legoktm: Verified; Looks good to me, approved



diff --git a/.travis.yml b/.travis.yml
index 21b46e9..dc159af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,11 +5,11 @@
   - mkdir ~/.pywikibot
 
   - touch ~/.pywikibot/user-config.py
-  - echo "import os" > ~/.pywikibot/user-config.py
-  - echo "mylang = 'en'" > ~/.pywikibot/user-config.py
-  - echo "family = 'wikipedia'" > ~/.pywikibot/user-config.py
-  - echo "usernames['wikipedia']['en'] = 'Pywikibot-test'" > 
~/.pywikibot/user-config.py
-  - echo "password_file = os.path.expanduser('~/.pywikibot/passwordfile')" > 
~/.pywikibot/user-config.py
+  - echo "import os" >> ~/.pywikibot/user-config.py
+  - echo "mylang = 'en'" >> ~/.pywikibot/user-config.py
+  - echo "family = 'wikipedia'" >> ~/.pywikibot/user-config.py
+  - echo "usernames['wikipedia']['en'] = 'Pywikibot-test'" >> 
~/.pywikibot/user-config.py
+  - echo "password_file = os.path.expanduser('~/.pywikibot/passwordfile')" >> 
~/.pywikibot/user-config.py
 
   - touch ~/.pywikibot/passwordfile
   - echo "('Pywikibot-test', '"$USER_PASSWORD"')" > ~/.pywikibot/passwordfile

-- 
To view, visit https://gerrit.wikimedia.org/r/78485
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I13721ec500f8b2bd52dff0fc318983eb3fadc277
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to