Commit 2627db13 by Jason Bau

make edxapp work when not run from a git repo

parent 944c4336
......@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from dealer.git import git
from dealer.auto import auto
from django.template import RequestContext
requestcontext = None
......@@ -24,4 +24,4 @@ class MakoMiddleware(object):
requestcontext = RequestContext(request)
requestcontext['is_secure'] = request.is_secure()
requestcontext['site'] = request.get_host()
requestcontext['REVISION'] = git.revision
requestcontext['REVISION'] = auto.revision
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment