Skip to content

Commit 8373914

Browse files
rjsparksNGPixel
andauthored
fix: complete the removal of ietf.__init__.date. (ietf-tools#3771)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
1 parent cb4a288 commit 8373914

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

dev/INSTALL

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ process should be used:
123123
out why.
124124

125125
6. Edit ``.../ietf/__init__.py`` in the new patched release to indicate the patch
126-
version in the ``__patch__`` string and current date and time in the ``__date__``
127-
string.
126+
version in the ``__patch__`` string.
128127

129128
7. Change the 'web' symlink, reload etc. as described in
130129
`General Instructions for Deployment of a New Release`_ .

ietf/api/tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ def test_api_version(self):
354354
r = self.client.get(url)
355355
data = r.json()
356356
self.assertEqual(data['version'], ietf.__version__+ietf.__patch__)
357-
self.assertIn(data['date'], ietf.__date__)
358357

359358
def test_api_appauth(self):
360359
url = urlreverse('ietf.api.views.app_auth')

ietf/api/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ def version(request):
209209
return HttpResponse(
210210
json.dumps({
211211
'version': ietf.__version__+ietf.__patch__,
212-
'date': ietf.__date__[7:-2],
213212
'dumptime': dumptime,
214213
}),
215214
content_type='application/json',

0 commit comments

Comments
 (0)