labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1566040 - /labs/panopticon/src/asf/panopticon/__init__.py
Date Sat, 08 Feb 2014 16:17:11 GMT
Author: adc
Date: Sat Feb  8 16:17:11 2014
New Revision: 1566040

URL: http://svn.apache.org/r1566040
Log:
No special code needed for user tester

Modified:
    labs/panopticon/src/asf/panopticon/__init__.py

Modified: labs/panopticon/src/asf/panopticon/__init__.py
URL: http://svn.apache.org/viewvc/labs/panopticon/src/asf/panopticon/__init__.py?rev=1566040&r1=1566039&r2=1566040&view=diff
==============================================================================
--- labs/panopticon/src/asf/panopticon/__init__.py (original)
+++ labs/panopticon/src/asf/panopticon/__init__.py Sat Feb  8 16:17:11 2014
@@ -41,13 +41,6 @@ def hello_world():
 
 @app.route('/api/users/<username>')
 def user_info(username):
-    if username == 'tester':
-        return jsonify({
-            'username': 'tester',
-            'fullname': 'Automated build user',
-            'email': 'ask_tools@linkedin.com',
-            'email_string': 'ask_tools@linkedin.com',
-        })
     try:
         person = Person(username)
     except PersonError:



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message