Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
event-tracking
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
event-tracking
Commits
9ebf54e5
Commit
9ebf54e5
authored
Sep 01, 2016
by
Calen Pennington
Committed by
GitHub
Sep 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36 from edx/add-openedx-yaml
Add an OEP-2 compliant openedx.yaml file
parents
c9573cfa
0e44b2fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
eventtracking/backends/tests/test_logger.py
+2
-2
eventtracking/django/__init__.py
+1
-1
openedx.yaml
+5
-0
No files found.
eventtracking/backends/tests/test_logger.py
View file @
9ebf54e5
...
@@ -4,11 +4,11 @@ from __future__ import absolute_import
...
@@ -4,11 +4,11 @@ from __future__ import absolute_import
import
json
import
json
import
datetime
import
datetime
import
pytz
from
unittest
import
TestCase
from
unittest
import
TestCase
from
mock
import
patch
from
mock
import
patch
from
mock
import
sentinel
from
mock
import
sentinel
import
pytz
from
eventtracking.backends.logger
import
LoggerBackend
from
eventtracking.backends.logger
import
LoggerBackend
...
...
eventtracking/django/__init__.py
View file @
9ebf54e5
...
@@ -108,7 +108,7 @@ class DjangoTracker(Tracker):
...
@@ -108,7 +108,7 @@ class DjangoTracker(Tracker):
for
key
,
value
in
node
.
iteritems
():
for
key
,
value
in
node
.
iteritems
():
result
[
key
]
=
self
.
instantiate_objects
(
value
)
result
[
key
]
=
self
.
instantiate_objects
(
value
)
elif
isinstance
(
node
,
list
):
elif
isinstance
(
node
,
list
):
result
=
[]
result
=
[]
# pylint: disable=redefined-variable-type
for
child
in
node
:
for
child
in
node
:
result
.
append
(
self
.
instantiate_objects
(
child
))
result
.
append
(
self
.
instantiate_objects
(
child
))
...
...
openedx.yaml
0 → 100644
View file @
9ebf54e5
# This file describes this Open edX repo, as described in OEP-2:
# http://open-edx-proposals.readthedocs.io/en/latest/oeps/oep-0002.html#specification
oeps
:
{}
owner
:
edx/analytics
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment