Skip to content

Commit 3100649

Browse files
author
Yann
committed
Merge pull request #7 from DataDog/yann/v0.1.2
Yann/v0.1.2
2 parents 13b5ff7 + 7202321 commit 3100649

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ stats.increment('home.page.hits')
5959

6060
Change Log
6161
----------
62+
- 0.1.2
63+
- Release date: 2015.03.23
64+
- Fix a typo that was causing an initialization issue with `datadog.dogshell`
6265
- 0.1
6366
- Release date: 2015.03.10
6467
- First release

datadog/dogshell/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def main():
4242
" out an API call (default 10)", default=10, type=int)
4343
parser.add_argument('-v', '--version', help='Dog API version', action='version',
4444
version='%(prog)s {version}'
45-
.format(version=pkg.require("datadog.py")[0].version))
45+
.format(version=pkg.require("datadog")[0].version))
4646

4747
config = DogshellConfig()
4848

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The :mod:`datadog` module provides :mod:`datadog.api` - a simple wrapper around
99
Installation
1010
============
1111

12-
To install from source, `download <https://github.com/DataDog/datadog.py>`_ a distribution and run:
12+
To install from source, `download <https://github.com/DataDog/datadogpy>`_ a distribution and run:
1313

1414
>>> sudo python setup.py install
1515

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name="datadog",
17-
version="0.1.1",
17+
version="0.1.2",
1818
install_requires=install_reqs,
1919
tests_require=["tox"],
2020
packages=[

tests/integration/dogshell/test_dogshell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def test_event(self):
104104
event_id = None
105105

106106
def match_permalink(out):
107-
match = re.match(r'.*/event/jump_to\?event_id=([0-9]*)', out, re.DOTALL)
107+
match = re.match(r'.*/event/event\?id=([0-9]*)', out, re.DOTALL) or \
108+
re.match(r'.*/event/jump_to\?event_id=([0-9]*)', out, re.DOTALL)
108109
if match:
109110
return match.group(1)
110111
else:

0 commit comments

Comments
 (0)