[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Adjusting for HTTP redirects



commit e83d3311406f35d57580e7b8cb42ae0a11d469b1
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Fri Jul 18 09:31:26 2014 -0700

    Adjusting for HTTP redirects
    
    Adjusting our OFTC link since the old resource is now a redirect...
    
    Line: 479 http://www.oftc.net/oftc/ redirected to http://www.oftc.net/
        Status: 301 -> 200 OK
    
    Python docs and PyPI now have a http => https redirects...
    
    Line: 102 http://docs.python.org/2/howto/curses.html redirected to https://docs.python.org/2/howto/curses.html
        Status: 301 -> 200 OK
    
    Line: 179 http://pypi.python.org/pypi/colorama redirected to https://pypi.python.org/pypi/colorama
        Status: 301 -> 200 OK
    
     Line: 178 http://pypi.python.org/pypi/termcolor redirected to https://pypi.python.org/pypi/termcolor
        Status: 301 -> 200 OK
    
    Django has moved its repository links to github...
    
    Line: 177 https://code.djangoproject.com/browser/django/trunk/django/utils/termcolors.py redirected to https://github.com/django/django/tree/master/django/utils/termcolors.py
    
    Wikipedia doesn't have a separate subdomain for SSL...
    
    Line: https://secure.wikimedia.org/wikipedia/en/wiki/ANSI_escape_code redirected to https://en.wikipedia.org/wiki/ANSI_escape_code
        Status: 301 -> 200 OK
---
 docs/faq.rst                             |    2 +-
 docs/tutorials/tortoise_and_the_hare.rst |    2 +-
 stem/util/term.py                        |    8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/faq.rst b/docs/faq.rst
index 123002f..aa9b7f9 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -448,7 +448,7 @@ The best way of getting involved with any project is to jump right in! Our `bug
 tracker <https://trac.torproject.org/projects/tor/wiki/doc/stem/bugs>`_ lists
 several development tasks. In particular look for the 'easy' keyword when
 getting started. If you have any questions then I'm always more than happy to
-help! I'm **atagar** on `oftc <http://www.oftc.net/oftc/>`_ and also available
+help! I'm **atagar** on `oftc <http://www.oftc.net/>`_ and also available
 `via email <https://www.atagar.com/contact/>`_.
 
 To start hacking on Stem please do the following and don't hesitate to let me
diff --git a/docs/tutorials/tortoise_and_the_hare.rst b/docs/tutorials/tortoise_and_the_hare.rst
index 50edba6..a458e0d 100644
--- a/docs/tutorials/tortoise_and_the_hare.rst
+++ b/docs/tutorials/tortoise_and_the_hare.rst
@@ -18,7 +18,7 @@ single dedicated event thread, and blocking this thread will prevent the
 delivery of further events.
 
 With that out of the way lets see an example. The following is a `curses
-<http://docs.python.org/2/howto/curses.html>`_ application that graphs the
+<https://docs.python.org/2/howto/curses.html>`_ application that graphs the
 bandwidth usage of Tor...
 
 .. image:: /_static/bandwidth_graph_output.png
diff --git a/stem/util/term.py b/stem/util/term.py
index 42e3fc4..869449a 100644
--- a/stem/util/term.py
+++ b/stem/util/term.py
@@ -68,12 +68,12 @@ RESET = CSI % '0'
 def format(msg, *attr):
   """
   Simple terminal text formatting using `ANSI escape sequences
-  <https://secure.wikimedia.org/wikipedia/en/wiki/ANSI_escape_code#CSI_codes>`_.
+  <https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes>`_.
   The following are some toolkits providing similar capabilities:
 
-  * `django.utils.termcolors <https://code.djangoproject.com/browser/django/trunk/django/utils/termcolors.py>`_
-  * `termcolor <http://pypi.python.org/pypi/termcolor>`_
-  * `colorama <http://pypi.python.org/pypi/colorama>`_
+  * `django.utils.termcolors <https://github.com/django/django/blob/master/django/utils/termcolors.py>`_
+  * `termcolor <https://pypi.python.org/pypi/termcolor>`_
+  * `colorama <https://pypi.python.org/pypi/colorama>`_
 
   :param str msg: string to be formatted
   :param str attr: text attributes, this can be :data:`~stem.util.term.Color`,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits