Changeset - aa3770ea23fd
[Not reviewed]
0 1 0
Christopher Neugebauer - 4 years ago 2017-11-29 02:03:10
chrisjrn@gmail.com
oops
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templatetags/nbpy_tags.py
Show inline comments
...
 
@@ -55,25 +55,24 @@ def name_split(name, split_characters=None):
 
        even_split = int((len(tokens) + 1) / 2)  # Round up.
 
    else:
 
        even_split = len(tokens)
 

	
 
    return {
 
        "first" : " ".join(tokens[:even_split]),
 
        "last" : " ".join(tokens[even_split:]),
 
    }
 

	
 
@register.simple_tag
 
def company_split(name):
 
    f =  name_split(name, 18)
 
    print f
 
    return f
 

	
 

	
 

	
 
CLEARED = set([
 
    "BeeWare Project",
 
    "Project Jupyter",
 
    "PSF Packaging WG / PyCon 2018 Chair",
 
    "PyCon Ukraine",
 
    "PyLadies PDX",
 
    "Recovered Silver",
 
    "Twisted",
0 comments (0 inline, 0 general)