mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
templatefilters: use absolute_import
This commit is contained in:
parent
a5b8e4c240
commit
edfcac720c
@ -5,10 +5,21 @@
|
||||
# This software may be used and distributed according to the terms of the
|
||||
# GNU General Public License version 2 or any later version.
|
||||
|
||||
import cgi, re, os, time, urllib
|
||||
import encoding, node, util
|
||||
import hbisect
|
||||
import templatekw
|
||||
from __future__ import absolute_import
|
||||
|
||||
import cgi
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
import urllib
|
||||
|
||||
from . import (
|
||||
encoding,
|
||||
hbisect,
|
||||
node,
|
||||
templatekw,
|
||||
util,
|
||||
)
|
||||
|
||||
def addbreaks(text):
|
||||
""":addbreaks: Any text. Add an XHTML "<br />" tag before the end of
|
||||
|
Loading…
Reference in New Issue
Block a user