diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/salt/cloud/clouds/linode.py b/salt/cloud/clouds/linode.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/linode.py +++ b/salt/cloud/clouds/linode.py @@ -515,17 +515,16 @@ if HAS_LINODEPY: # No, let's try to match it against the full # name and the abbreviation and return the ...
Make sure the key we're comparing is also lowercase Fixes #<I>
py
diff --git a/WOA/__init__.py b/WOA/__init__.py index <HASH>..<HASH> 100755 --- a/WOA/__init__.py +++ b/WOA/__init__.py @@ -6,9 +6,9 @@ __version__ = '0.0.1' from WOA.woa import WOA -from WOA.woa import woa_profile -from WOA.woa import woa_profile_from_dap -from WOA.woa import woa_profile_from_file -from WOA.woa im...
Removing alias to old functions.
py
diff --git a/pandas/tests/io/json/test_normalize.py b/pandas/tests/io/json/test_normalize.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/json/test_normalize.py +++ b/pandas/tests/io/json/test_normalize.py @@ -284,6 +284,26 @@ class TestJSONNormalize: expected = DataFrame(ex_data, columns=result.columns) ...
Add regression test for nested meta path in json_normalize (#<I>)
py
diff --git a/galpy/potential/NonInertialFrameForce.py b/galpy/potential/NonInertialFrameForce.py index <HASH>..<HASH> 100644 --- a/galpy/potential/NonInertialFrameForce.py +++ b/galpy/potential/NonInertialFrameForce.py @@ -48,7 +48,11 @@ class NonInertialFrameForce(DissipativeForce): \mathbf{F} = - \\bol...
Add numba discussion in class docs
py
diff --git a/jujupy.py b/jujupy.py index <HASH>..<HASH> 100644 --- a/jujupy.py +++ b/jujupy.py @@ -128,7 +128,7 @@ class JujuClientDevel: def get_status(self, environment): """Get the current status as a dict.""" - for ignored in until_timeout(30 * 30): + for ignored in until_timeout(60): ...
Restore timeouts to previous values.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -133,8 +133,7 @@ kw = {'name': "pyscard", 'classifiers': [ 'Development Status :: 5 - Production/Stable', - 'License :: OSI Approved :: GNU Lesser General Public License v2 ' - 'or later (...
setup.py: remove implicit string concatenation Fix warning reported by lgtm.com: Implicit string concatenation. Maybe missing a comma?
py
diff --git a/iktomi/unstable/db/sqla/factories.py b/iktomi/unstable/db/sqla/factories.py index <HASH>..<HASH> 100644 --- a/iktomi/unstable/db/sqla/factories.py +++ b/iktomi/unstable/db/sqla/factories.py @@ -24,7 +24,7 @@ def return_locals(func): return wrap -class ModelLibrary(object): +class ModelFactories(ob...
renamed ModelLibrary to ModelFactories
py
diff --git a/bspline.py b/bspline.py index <HASH>..<HASH> 100644 --- a/bspline.py +++ b/bspline.py @@ -265,11 +265,14 @@ Parameters: Returns: A: - rank-2 array such that + if len(tau) > 1, rank-2 array such that A[i,j] = D**deriv_order B_j(tau[i]) where D**k = k...
bspline.py: fix docstring
py
diff --git a/celerytask/tasks.py b/celerytask/tasks.py index <HASH>..<HASH> 100755 --- a/celerytask/tasks.py +++ b/celerytask/tasks.py @@ -428,10 +428,15 @@ def run_corp_update(): # Remove irrelevent corp and alliance models # Check the corps for all_corp_info in EveManager.get_all_corporatio...
Hotfix for Issue #<I> Reworked logic to prevent comparison of NoneType alliance ID
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from buildutils.bundle import fetch_libcapnp _this_dir = os.path.dirname(__file__) MAJOR = 1 -MINOR = 0 +MINOR = 1 MICRO = 0 TAG = '' VERSION = '%d.%d.%d%s' % (MAJOR, MINOR, MICRO, TAG)
Incrementing to <I>
py
diff --git a/pyVmomi/DynamicTypeManagerHelper.py b/pyVmomi/DynamicTypeManagerHelper.py index <HASH>..<HASH> 100644 --- a/pyVmomi/DynamicTypeManagerHelper.py +++ b/pyVmomi/DynamicTypeManagerHelper.py @@ -81,7 +81,8 @@ class DynamicTypeConstructor: _mapFlags = { "optional": VmomiSupport.F_OPTIONAL, ...
Provide support for @secret annotation in DynamicTypeManager
py
diff --git a/tests/main_test.py b/tests/main_test.py index <HASH>..<HASH> 100644 --- a/tests/main_test.py +++ b/tests/main_test.py @@ -49,6 +49,8 @@ ignore_mypy_errs_with = ( "already defined", "cannot determine type of", "decorator expected", + "coconut_compose_", + "coconut_partial_", ) #----...
Ignores compose and partial mypy errors
py
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index <HASH>..<HASH> 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -263,7 +263,8 @@ def master_config(opts, vm_): # Some default options are Null, let's set a reasonable default master.update( log_level='info', - log_level_...
When configuring master using salt cloud set hash_type=<I> as a default value
py
diff --git a/dipper/models/Genotype.py b/dipper/models/Genotype.py index <HASH>..<HASH> 100644 --- a/dipper/models/Genotype.py +++ b/dipper/models/Genotype.py @@ -482,9 +482,10 @@ class Genotype(): # akin to a variant locus if targeted_gene_id is None: - targeted_gene_id = '_:' + gene_id ...
leave bnode as was
py
diff --git a/openquake/calculators/ebrisk.py b/openquake/calculators/ebrisk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/ebrisk.py +++ b/openquake/calculators/ebrisk.py @@ -279,8 +279,10 @@ class EbriskCalculator(event_based.EventBasedCalculator): builder = get_loss_builder(self.datastore) ...
Fixed oq-risk-tests
py
diff --git a/pyautogui/__init__.py b/pyautogui/__init__.py index <HASH>..<HASH> 100644 --- a/pyautogui/__init__.py +++ b/pyautogui/__init__.py @@ -1291,7 +1291,7 @@ def press(keys, presses=1, interval=0.0, pause=None, logScreenshot=None, _pause= Args: key (str, list): The key to be pressed. The valid names ...
Fix typo in docstring of presses method
py
diff --git a/ladybug/datacollection.py b/ladybug/datacollection.py index <HASH>..<HASH> 100644 --- a/ladybug/datacollection.py +++ b/ladybug/datacollection.py @@ -375,7 +375,7 @@ class DataCollection(object): moys = range(0, 48 * 60) # The first two days of the year epw = EPW("c:/ladybug/weathe...
fixing a small typo that makes a method inaccessible
py
diff --git a/expfactory/cli/install.py b/expfactory/cli/install.py index <HASH>..<HASH> 100644 --- a/expfactory/cli/install.py +++ b/expfactory/cli/install.py @@ -73,7 +73,7 @@ def main(args,parser,subparser): bot.log("Installing %s to %s" %(exp_id, dest)) # Are we in a Container? - if os.environ.get('EX...
modified: expfactory/cli/install.py
py
diff --git a/datanommer.models/tests/test_model.py b/datanommer.models/tests/test_model.py index <HASH>..<HASH> 100644 --- a/datanommer.models/tests/test_model.py +++ b/datanommer.models/tests/test_model.py @@ -168,17 +168,22 @@ class TestModels(unittest.TestCase): def test_add_empty(self): datanommer.mod...
update tests to account for more flexible message formats Since we now supply defaults for some fedmsg-specific fields, tests that were previously expected to fail are now succeeding. Update the tests to be consistent with the way we now process messages.
py
diff --git a/planet/api/client.py b/planet/api/client.py index <HASH>..<HASH> 100644 --- a/planet/api/client.py +++ b/planet/api/client.py @@ -34,6 +34,8 @@ class _Base(object): api_key = api_key or auth.find_api_key() self.auth = api_key and auth.APIKey(api_key) self.base_url = base_url + ...
make sure base_url has a trailing /
py
diff --git a/tests/test_session.py b/tests/test_session.py index <HASH>..<HASH> 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -109,13 +109,18 @@ def test_session_flash_data(): assert SESSION.get('flash_password') == 'secret' -def test_reset_flash_session(): - for driver in ('memory',...
split flash session resets into 2 tests
py
diff --git a/gspread/models.py b/gspread/models.py index <HASH>..<HASH> 100644 --- a/gspread/models.py +++ b/gspread/models.py @@ -626,6 +626,11 @@ class Worksheet(object): idx = head - 1 data = self.get_all_values() + + # Return an empty list if the sheet doesn't have enough rows + if...
Fixed IndexError in Worksheet.get_all_records() (#<I>) * Fixed IndexError in get_all_records Added data length checking to prevent IndexError in .get_all_records() method of Worksheet class. Fixes #<I>.
py
diff --git a/pyxmpp/binding.py b/pyxmpp/binding.py index <HASH>..<HASH> 100644 --- a/pyxmpp/binding.py +++ b/pyxmpp/binding.py @@ -50,6 +50,13 @@ FEATURE_BIND = BIND_QNP + u"bind" BIND_JID_TAG = BIND_QNP + u"jid" BIND_RESOURCE_TAG = BIND_QNP + u"resource" +def default_resource_factory(settings): + """Factory for...
Support for the 'resource' setting
py
diff --git a/hearthstone/entities.py b/hearthstone/entities.py index <HASH>..<HASH> 100644 --- a/hearthstone/entities.py +++ b/hearthstone/entities.py @@ -45,14 +45,15 @@ class Entity: return self.tags.get(GameTag.ZONE, Zone.INVALID) def _update_tags(self, tags): + for tag, value in tags.items(): + if tag == ...
Fix initial_controller not being updated when revealing entities This fixes entities stolen by Death Grip appearing in player's initial deck.
py
diff --git a/scrapelib.py b/scrapelib.py index <HASH>..<HASH> 100644 --- a/scrapelib.py +++ b/scrapelib.py @@ -380,6 +380,11 @@ class Scraper(object): return resp, content except socket.error, e: exception_raised = True + except AttributeErro...
catch the httplib2 "no attribute 'makefile'" exception for retry
py
diff --git a/dashboard/head.py b/dashboard/head.py index <HASH>..<HASH> 100644 --- a/dashboard/head.py +++ b/dashboard/head.py @@ -74,7 +74,8 @@ class DashboardHead: if self._gcs_rpc_error_counter > \ dashboard_consts.GCS_CHECK_ALIVE_MAX_COUNT_OF_RPC_ERROR: logger.erro...
[dashboard] Fix GCS retry error message in dashboard_head (#<I>)
py
diff --git a/src/ploneintranet/workspace/testing.py b/src/ploneintranet/workspace/testing.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/testing.py +++ b/src/ploneintranet/workspace/testing.py @@ -2,9 +2,9 @@ from plone.testing import z2 from plone.app.testing import PloneSandboxLayer from plone.a...
Using the correct base layer (a change that was introduced with the switch to Plone 5)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,9 @@ -from setuptools import setup +try: + #This one does overwrite the existing installation (python setup.py install) + #convenient for developing and testing + from distutils.core import setup +except Impor...
use distribute first, if failed try setuptools, not sure if this change is solid but work fine for me, added because I could not update the installation with my code modifications otherwise
py
diff --git a/visidata/freqtbl.py b/visidata/freqtbl.py index <HASH>..<HASH> 100644 --- a/visidata/freqtbl.py +++ b/visidata/freqtbl.py @@ -160,7 +160,7 @@ class SheetFreqTable(Sheet): self.discreteBinning() # automatically add cache to all columns now that everything is binned - for c in self...
[freqtbl] remove cache from freq columns for bulk edit
py
diff --git a/ella/core/admin.py b/ella/core/admin.py index <HASH>..<HASH> 100644 --- a/ella/core/admin.py +++ b/ella/core/admin.py @@ -14,7 +14,7 @@ class ListingForm(modelforms.ModelForm): class ListingInlineAdmin(admin.TabularInline): model = Listing extra = 2 - fieldsets = ((None, {'fields': ('category...
added publish_to to fieldsets of admin for ListingInlineAdmin
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -96,7 +96,7 @@ try: for requirement in requires: match = re.match( - r'(.*?)\s*;\s*python_version\s*([<>=!±]+)\s*\'(.*?)\'', requirement) + r'(.*?)\s*;\s*python_version\s*(...
Typo in spec regexp This is the follow up to previous commit
py
diff --git a/sources/Source.py b/sources/Source.py index <HASH>..<HASH> 100644 --- a/sources/Source.py +++ b/sources/Source.py @@ -251,10 +251,10 @@ class Source: print("INFO: Fetching data from table",t) self._getcols(cur,t) query=(' ').join(("SELECT * FROM",t)) + ...
fix remote rowcount in postgres fetcher
py
diff --git a/abilian/core/sqlalchemy.py b/abilian/core/sqlalchemy.py index <HASH>..<HASH> 100644 --- a/abilian/core/sqlalchemy.py +++ b/abilian/core/sqlalchemy.py @@ -45,7 +45,7 @@ def ping_connection(dbapi_connection, connection_record, connection_proxy): # raise DisconnectionError - pool will try # connecti...
sqlalchemy: fix cursor not closed during ping
py
diff --git a/tests/test_context.py b/tests/test_context.py index <HASH>..<HASH> 100644 --- a/tests/test_context.py +++ b/tests/test_context.py @@ -52,7 +52,7 @@ def test_context(): '0876E2D013800D6C41BB59B6D5979B5C00A172B4A2A5903A0BDCAF8A709585EB2AFAFA8F3499B200210DCC1F10EB3394' '3CD67FC88A2F39A4BE5BE...
Expect session key in bytes in tests
py
diff --git a/pulsar/apps/pulsardjp/applications.py b/pulsar/apps/pulsardjp/applications.py index <HASH>..<HASH> 100755 --- a/pulsar/apps/pulsardjp/applications.py +++ b/pulsar/apps/pulsardjp/applications.py @@ -59,10 +59,10 @@ class PulsarServerApplication(AdminApplication): monitors = [] for monitor ...
small change in plusardjp applications
py
diff --git a/pythran/tests/test_optimizations.py b/pythran/tests/test_optimizations.py index <HASH>..<HASH> 100644 --- a/pythran/tests/test_optimizations.py +++ b/pythran/tests/test_optimizations.py @@ -376,10 +376,8 @@ def foo(a): self.check_ast(init, ref, ["pythran.optimizations.DeadCodeElimination"]) ...
Trivial portability fix for test_optimizations
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,9 +57,9 @@ author = 'Joshua Walters' # built documents. # # The short X.Y version. -version = '0.1.2' +version = '0.1.3' # The full version, including alpha/beta/rc tags. -release = '0.1.2.20' +release ...
Update conf.py Fixed Docs
py
diff --git a/raiden/raiden_service.py b/raiden/raiden_service.py index <HASH>..<HASH> 100644 --- a/raiden/raiden_service.py +++ b/raiden/raiden_service.py @@ -474,7 +474,7 @@ class RaidenService(Runnable): # capturing a snapshot should take place new_snapshot_group = self.wal.storage.count_state_chang...
Improve logging of new snapshots [no ci integration]
py
diff --git a/octodns/manager.py b/octodns/manager.py index <HASH>..<HASH> 100644 --- a/octodns/manager.py +++ b/octodns/manager.py @@ -363,7 +363,7 @@ class Manager(object): futures.append(self._executor.submit( self._populate_and_plan, zone_name, - [self.pr...
Remove sources argument when calling _populate_and_plan() for an alias zone
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,6 +29,7 @@ class Mock(MagicMock): return Mock() MOCK_MODULES = [ + 'jicbioimage.core', 'numpy', 'scipy', 'skimage',
Another attempt to mock out dependencies for readthedocs.
py
diff --git a/src/jsonlogger.py b/src/jsonlogger.py index <HASH>..<HASH> 100644 --- a/src/jsonlogger.py +++ b/src/jsonlogger.py @@ -6,6 +6,10 @@ from datetime import datetime class JsonFormatter(logging.Formatter): """A custom formatter to format logging records as json objects""" + def parse(self): + ...
Moved out fmt parsing so it can be overidden.
py
diff --git a/dedupe/core.py b/dedupe/core.py index <HASH>..<HASH> 100644 --- a/dedupe/core.py +++ b/dedupe/core.py @@ -183,25 +183,6 @@ def scoreDuplicates(ids, records, id_type, data_model, threshold=None): return scored_pairs -def blockedPairsConstrained(blocks) : - for block in blocks : - base, ta...
moved blockedPairs to api.py
py
diff --git a/scripts/devel/catkin_make_isolated_and_install.py b/scripts/devel/catkin_make_isolated_and_install.py index <HASH>..<HASH> 100755 --- a/scripts/devel/catkin_make_isolated_and_install.py +++ b/scripts/devel/catkin_make_isolated_and_install.py @@ -42,7 +42,7 @@ def main(argv=sys.argv[1:]): test_resu...
use skip testing instead of disabling testing
py
diff --git a/test/test_coordinator.py b/test/test_coordinator.py index <HASH>..<HASH> 100644 --- a/test/test_coordinator.py +++ b/test/test_coordinator.py @@ -269,6 +269,7 @@ def test_fetch_committed_offsets(mocker, coordinator): def test_close(mocker, coordinator): mocker.patch.object(coordinator, '_maybe_auto_c...
Add mocking to test_coordinator::test_close to fix random test failure (via travis logs)
py
diff --git a/tests/parser/syntax/test_raw_call.py b/tests/parser/syntax/test_raw_call.py index <HASH>..<HASH> 100644 --- a/tests/parser/syntax/test_raw_call.py +++ b/tests/parser/syntax/test_raw_call.py @@ -87,6 +87,16 @@ def foo(): def foo(): raw_call(0x1234567890123456789012345678901234567890, b"cow") """,...
add a test for folding of kwargs
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10832,7 +10832,12 @@ numeric_only : bool, default None Returns ------- -%(name1)s or %(name2)s (if level specified)\n""" +%(name1)s or %(name2)s (if level specified)...
DOC: Add Notes about difference to numpy behaviour for ddof in std() GH<I> (#<I>) * DOC: Add Notes about difference to numpy behaviour for ddof. GH<I>. * remove trailing whitespace. * Update pandas/core/generic.py wording change.
py
diff --git a/ndb/context_test.py b/ndb/context_test.py index <HASH>..<HASH> 100644 --- a/ndb/context_test.py +++ b/ndb/context_test.py @@ -218,7 +218,7 @@ class ContextTests(unittest.TestCase): self.assertEqual(len(res), 3) for i, ent in enumerate(res): self.assertTrue(isinstance(ent, model.Model)) - ...
Fix that test. Bah, flat() should not return a generator.
py
diff --git a/tests/unit/modules/timezone_test.py b/tests/unit/modules/timezone_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/timezone_test.py +++ b/tests/unit/modules/timezone_test.py @@ -114,7 +114,8 @@ class TimezoneTestCase(TestCase): @patch('os.symlink', MagicMock()) def test_set_zone_redha...
Fix doc for RH UT
py
diff --git a/giturlparse/platforms/github.py b/giturlparse/platforms/github.py index <HASH>..<HASH> 100644 --- a/giturlparse/platforms/github.py +++ b/giturlparse/platforms/github.py @@ -14,4 +14,4 @@ class GitHubPlatform(BasePlatform): 'git': r'git://%(domain)s/%(owner)s/%(repo)s.git' } DOMAINS = ('...
Remove DOMAINS from GitHubPlatform
py
diff --git a/python/sdss_access/tests/conftest.py b/python/sdss_access/tests/conftest.py index <HASH>..<HASH> 100644 --- a/python/sdss_access/tests/conftest.py +++ b/python/sdss_access/tests/conftest.py @@ -6,7 +6,7 @@ # @Author: Brian Cherinka # @Date: 2017-03-24 12:22:30 # @Last modified by: Brian Cherinka -# ...
testing pytest rsync remote
py
diff --git a/py/test/event.py b/py/test/event.py index <HASH>..<HASH> 100644 --- a/py/test/event.py +++ b/py/test/event.py @@ -127,9 +127,9 @@ class HostDown(BaseEvent): self.host = host self.error = error -# -# events related to rsyncing -# +# ----------------------------------------------------...
[svn r<I>] Keep comments in the same style accross the file --HG-- branch : trunk
py
diff --git a/tsv.py b/tsv.py index <HASH>..<HASH> 100644 --- a/tsv.py +++ b/tsv.py @@ -8,6 +8,9 @@ obtain lists of the values from each non-comment line in the stream. TSV is most useful as the basis for other, more tightly specified file formats. +Examples of how to use this module are available here: +https://gi...
Add a pointer to the Github examples
py
diff --git a/nlpipe/scripts/parse.py b/nlpipe/scripts/parse.py index <HASH>..<HASH> 100644 --- a/nlpipe/scripts/parse.py +++ b/nlpipe/scripts/parse.py @@ -24,7 +24,10 @@ args = parser.parse_args() task = modules[args.module] if args.adhoc: - text = " ".join(args.target) + if args.target == ["-"]: + tex...
Allow adhoc parsing from input file
py
diff --git a/ModelSEED_format_conversion.py b/ModelSEED_format_conversion.py index <HASH>..<HASH> 100755 --- a/ModelSEED_format_conversion.py +++ b/ModelSEED_format_conversion.py @@ -31,7 +31,7 @@ if __name__ == '__main__': for row in csv.reader(rxn_file, delimiter='\t'): seed_rid, rxn_name, equation_cpdn...
ModelSEED_format_conversion: Allow reactions to be commented out
py
diff --git a/tornado/ioloop.py b/tornado/ioloop.py index <HASH>..<HASH> 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -477,7 +477,7 @@ class PeriodicCallback(object): def _schedule_next(self): if self._running: current_time = time.time() - while self._next_timeout < cur...
Always advance _next_timeout in PeriodicCallback._schedule_next(). On fast machines (and platforms where time.time() has low resolution), it's possible to make it through an IOLoop iteration with time.time() unchanged, which would cause the callback to be run multiple times regardless of the requested interval. Close...
py
diff --git a/ansible/plugins/lookup/hashivault.py b/ansible/plugins/lookup/hashivault.py index <HASH>..<HASH> 100755 --- a/ansible/plugins/lookup/hashivault.py +++ b/ansible/plugins/lookup/hashivault.py @@ -61,7 +61,7 @@ class LookupModule(LookupBase): params['username'] = self._get_environment(environment...
Add support of token from ansible environment
py
diff --git a/lancet/filetypes.py b/lancet/filetypes.py index <HASH>..<HASH> 100644 --- a/lancet/filetypes.py +++ b/lancet/filetypes.py @@ -188,6 +188,35 @@ class CustomFile(FileType): return val +class HVZFile(CustomFile): + """ + FileType supporting the .hvz file format of the the HoloViews + lib...
Added the HVZFile FileType class to support the HoloViews .hvz format
py
diff --git a/holocube/plotting/__init__.py b/holocube/plotting/__init__.py index <HASH>..<HASH> 100644 --- a/holocube/plotting/__init__.py +++ b/holocube/plotting/__init__.py @@ -15,9 +15,11 @@ from ..element import (Contours, Image, Points, GeoFeature, def _get_projection(el): """ - Get coordinate reference...
Fixed bug not assigning projection to auxiliary components
py
diff --git a/canmatrix/sym.py b/canmatrix/sym.py index <HASH>..<HASH> 100644 --- a/canmatrix/sym.py +++ b/canmatrix/sym.py @@ -383,7 +383,9 @@ def load(f, **options): if intel == 0: # motorola set/convert startbit signal.setStartbit(star...
Capture per-mux-value comments from .sym files Issue #<I>
py
diff --git a/sc2players/playerRecord.py b/sc2players/playerRecord.py index <HASH>..<HASH> 100644 --- a/sc2players/playerRecord.py +++ b/sc2players/playerRecord.py @@ -13,7 +13,7 @@ import os import time from sc2players import constants as c -from sc2matchHistory import getPlayerHistory +#from sc2matchHistory import...
- removed shadow dependency on sc2matchHistory
py
diff --git a/pycrosscall/wineserver.py b/pycrosscall/wineserver.py index <HASH>..<HASH> 100644 --- a/pycrosscall/wineserver.py +++ b/pycrosscall/wineserver.py @@ -174,11 +174,8 @@ class wineserver_session_class: 'server-%x-%x' % (info_wineprefix.st_dev, info_wineprefix.st_ino) ) - # HACK - time.sleep(2.0) -...
removed timeout hack in wineserver code, checking for lock again
py
diff --git a/taxtastic/subcommands/new_database.py b/taxtastic/subcommands/new_database.py index <HASH>..<HASH> 100644 --- a/taxtastic/subcommands/new_database.py +++ b/taxtastic/subcommands/new_database.py @@ -45,6 +45,12 @@ def build_parser(parser): and/or re-create the database even if one or both already ...
Fixing taxonomies in new_database by default.
py
diff --git a/src/streamlink/plugins/app17.py b/src/streamlink/plugins/app17.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/app17.py +++ b/src/streamlink/plugins/app17.py @@ -30,10 +30,12 @@ class App17(Plugin): return http_url = _rtmp_re.search(res.text).group(1) + if 'pull-r...
plugins.app<I>: use https
py
diff --git a/angr/state_plugins/symbolic_memory.py b/angr/state_plugins/symbolic_memory.py index <HASH>..<HASH> 100644 --- a/angr/state_plugins/symbolic_memory.py +++ b/angr/state_plugins/symbolic_memory.py @@ -981,8 +981,8 @@ class SimSymbolicMemory(SimMemory): #pylint:disable=abstract-method # CGC binari...
make _special_memory_filler state aware
py
diff --git a/cypher/syntax.py b/cypher/syntax.py index <HASH>..<HASH> 100644 --- a/cypher/syntax.py +++ b/cypher/syntax.py @@ -450,6 +450,11 @@ class Create(Statement, ValueList): return toks +class CreateUnique(Create): + def __init__(self, values): + super(CreateUnique, self).__init__(values, u...
Add convenience classes for CreateUnique and ReturnDistinct This is an alternate to passing the respective arguments into the base class.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,19 @@ import os import re -from setuptools import setup +from setuptools import setup as setup def read(path): + global os with open(os.path.join(os.path.dirname(__file__), path), 'r') as f: da...
Writing setup.py so it can run from run_script correctly
py
diff --git a/src/greplin/scales/graphite.py b/src/greplin/scales/graphite.py index <HASH>..<HASH> 100644 --- a/src/greplin/scales/graphite.py +++ b/src/greplin/scales/graphite.py @@ -80,7 +80,8 @@ class GraphitePeriodicPusher(threading.Thread): if not rule(name, value): break else: - ...
Don't send stat values that aren't numeric, or whose names are ridiculously long.
py
diff --git a/src/rasterstats/main.py b/src/rasterstats/main.py index <HASH>..<HASH> 100644 --- a/src/rasterstats/main.py +++ b/src/rasterstats/main.py @@ -5,7 +5,7 @@ from __future__ import division from affine import Affine from shapely.geometry import shape import numpy as np -import numpy.distutils.system_info as...
Update main.py "import numpy.distutils.system_info as sysinfo" causes "ImportError: cannot import name 'ccompiler' from partially initialized module 'numpy.distutils' (most likely due to a circular import)" in executable made with PyInstaller. With proposed workaround there is no error.
py
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -118,7 +118,7 @@ def define_worker(): for w in iowaiters: w[1].set() iowaiters = []...
Use list() to avoid size change during iteration Since we want to delete as we iterate, use list() to make a copy that will survive modification during iteration. Change-Id: I4b<I>acbe<I>a<I>a<I>d6cbaa<I>e8bc<I>b2dfe
py
diff --git a/salt/_compat.py b/salt/_compat.py index <HASH>..<HASH> 100644 --- a/salt/_compat.py +++ b/salt/_compat.py @@ -144,6 +144,12 @@ class IPv6AddressScoped(ipaddress.IPv6Address): :param address: ''' + # pylint: disable-all + if not hasattr(self, '_is_packed_binary'): + ...
Roll back some changes to _compat.py
py
diff --git a/KISSmetrics/request.py b/KISSmetrics/request.py index <HASH>..<HASH> 100644 --- a/KISSmetrics/request.py +++ b/KISSmetrics/request.py @@ -25,9 +25,9 @@ class Request: self.timestamp = timestamp self.alias = alias self.properties = properties + self.query_string = self.crea...
refactor Request.query_string to an attribute
py
diff --git a/rocket/worker.py b/rocket/worker.py index <HASH>..<HASH> 100644 --- a/rocket/worker.py +++ b/rocket/worker.py @@ -46,7 +46,7 @@ re_REQUEST_LINE = re.compile(r"""^ (?P<host>[^/]+) # Host )? # (?P<path>(\*|/[^ \?]*)) # Path ...
Don't return <I> if there is a '?' but no query string.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,45 @@ # coding=utf8 -''' -Setup script for rux with the ugly setuptools. -''' +""" +Rux +--- +Micro & Fast static blog generator (markdown => html). + +Features +```````` + +* Static: Markdown => HTML +* Not tags...
docstring for pypi
py
diff --git a/eventsourcing/example/interface/flaskapp.py b/eventsourcing/example/interface/flaskapp.py index <HASH>..<HASH> 100644 --- a/eventsourcing/example/interface/flaskapp.py +++ b/eventsourcing/example/interface/flaskapp.py @@ -32,12 +32,14 @@ class IntegerSequencedItem(db.Model): # Construct eventsourcing ...
Changed Flask app to use decorator again, so docs can build.
py
diff --git a/tests/common/strategies.py b/tests/common/strategies.py index <HASH>..<HASH> 100644 --- a/tests/common/strategies.py +++ b/tests/common/strategies.py @@ -212,13 +212,6 @@ sized_array_strs_values = num_sized_elements.flatmap( ]) ) - -def unzip_strs_values(strs_values): - type_strs, type_values = ...
Re-organize some code in strategies module
py
diff --git a/openshift/dynamic/client.py b/openshift/dynamic/client.py index <HASH>..<HASH> 100644 --- a/openshift/dynamic/client.py +++ b/openshift/dynamic/client.py @@ -186,7 +186,7 @@ class DynamicClient(object): yield event @meta_request - def request(self, method, path, body=None, accept_hea...
Handle header_params same as upstream (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -91,4 +91,4 @@ setup(name='xray', tests_require=['mock >= 1.0.1', 'nose >= 1.0'], url='https://github.com/akleeman/xray', test_suite='nose.collector', - packages=['xray']) + packages=['xray', 'xr...
Add xray.backends to setup.py This should fix some installation problems.
py
diff --git a/pipes/securitygroup/create_securitygroup.py b/pipes/securitygroup/create_securitygroup.py index <HASH>..<HASH> 100644 --- a/pipes/securitygroup/create_securitygroup.py +++ b/pipes/securitygroup/create_securitygroup.py @@ -157,7 +157,7 @@ class SpinnakerSecurityGroup: headers=self...
Properly check for returned status Related: PSOBAT-<I>
py
diff --git a/svtyper/singlesample.py b/svtyper/singlesample.py index <HASH>..<HASH> 100644 --- a/svtyper/singlesample.py +++ b/svtyper/singlesample.py @@ -164,6 +164,9 @@ def dump_reads(reads_db_file, lite_read_cache): db[k] = json_read lite_read_cache[k] = None db.close() + db_size_bytes = os...
+ add some more reads database dump logging
py
diff --git a/noseprogressive/plugin.py b/noseprogressive/plugin.py index <HASH>..<HASH> 100644 --- a/noseprogressive/plugin.py +++ b/noseprogressive/plugin.py @@ -77,7 +77,9 @@ class ProgressivePlugin(Plugin): return ProgressiveRunner(self._cwd, self._totalTests, ...
Pass config along to runner so other plugins load. This makes django-nose not crash at the end of the test run.
py
diff --git a/boa/tests/src/EventTest.py b/boa/tests/src/EventTest.py index <HASH>..<HASH> 100644 --- a/boa/tests/src/EventTest.py +++ b/boa/tests/src/EventTest.py @@ -4,6 +4,8 @@ from boa.blockchain.vm.Neo.Action import RegisterAction Transfer = RegisterAction('transfer', 'from','to','amount') +Refund = RegisterAc...
added functionality for runtime event dispatching and listening
py
diff --git a/cerberus/__init__.py b/cerberus/__init__.py index <HASH>..<HASH> 100644 --- a/cerberus/__init__.py +++ b/cerberus/__init__.py @@ -8,6 +8,6 @@ """ -__version__ = "0.0.2" +__version__ = "0.0.3" from cerberus import Validator, ValidationError, SchemaError
Bumped version to <I>
py
diff --git a/graphene_sqlalchemy/fields.py b/graphene_sqlalchemy/fields.py index <HASH>..<HASH> 100644 --- a/graphene_sqlalchemy/fields.py +++ b/graphene_sqlalchemy/fields.py @@ -15,11 +15,15 @@ class SQLAlchemyConnectionField(ConnectionField): def model(self): return self.type._meta.node._meta.model - ...
make SQLAlchemyConnectionField.get_query a classmethod, pass in info and args
py
diff --git a/slactrac/quadmat.py b/slactrac/quadmat.py index <HASH>..<HASH> 100644 --- a/slactrac/quadmat.py +++ b/slactrac/quadmat.py @@ -45,4 +45,8 @@ def quadmat(K1=0,L=0,order=1): R[0:2,0:2] = R_d R[2:4,2:4] = R_f R[4:6,4:6] = _np.identity(2) + else: + print 'Uhm who said what now??' + print K1 + ...
Updated with comical error message that should never be reached
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,11 +40,8 @@ class PrepareReleaseCommand(setuptools.Command): def run(self): """runner""" - # TODO : - # $ gitchangelog >CHANGELOG.rst - # $ git commit CHANGELOG.rst -m "updating changel...
adding pyros.server package to setup.py
py
diff --git a/bin/simulate.py b/bin/simulate.py index <HASH>..<HASH> 100755 --- a/bin/simulate.py +++ b/bin/simulate.py @@ -44,7 +44,7 @@ if __name__ == "__main__": config_class = Configuration.DEFAULT(args.name, args.run, overload=vars(args)) - Configuration.GLOBAL_CONFIG = config_class.get_configura...
More garbage with this refactor, bah
py
diff --git a/pyemma/msm/analysis/dense/pcca_test.py b/pyemma/msm/analysis/dense/pcca_test.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/analysis/dense/pcca_test.py +++ b/pyemma/msm/analysis/dense/pcca_test.py @@ -101,7 +101,8 @@ class TestPCCA(unittest.TestCase): assert_allclose(chi, sol) def test_pcc...
using module-relative file name in pcca test
py
diff --git a/salt/returners/mysql.py b/salt/returners/mysql.py index <HASH>..<HASH> 100644 --- a/salt/returners/mysql.py +++ b/salt/returners/mysql.py @@ -46,7 +46,8 @@ optional. The following ssl options are simply for illustration purposes: Should you wish the returner data to be cleaned out every so often, set `...
Corrected documentation to state default keep_job param is set to <I> and not 0.
py
diff --git a/playhouse/flask_utils.py b/playhouse/flask_utils.py index <HASH>..<HASH> 100644 --- a/playhouse/flask_utils.py +++ b/playhouse/flask_utils.py @@ -47,6 +47,15 @@ class PaginatedQuery(object): abort(404) return self.query.paginate(self.get_page(), self.paginate_by) + def get_page_r...
Add get_page_range() helper to PaginatedQuery.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ requirements = [ 'hypothesis', 'pytest-cache', 'pytest-cov', - 'pytest-vcr' + 'pytest-vcr', 'pytest-pycharm', 'pytest', 'gitchangelog',
fix: dev: fix typo in setup.py
py
diff --git a/django_summernote/test_settings.py b/django_summernote/test_settings.py index <HASH>..<HASH> 100644 --- a/django_summernote/test_settings.py +++ b/django_summernote/test_settings.py @@ -45,6 +45,3 @@ TEMPLATES = [ }, }, ] - -if django.VERSION >= (3, 0): - X_FRAME_OPTIONS = 'SAMEORIGIN'
X_FRAME_OPTIONS should not be applied globally
py
diff --git a/webview/util.py b/webview/util.py index <HASH>..<HASH> 100644 --- a/webview/util.py +++ b/webview/util.py @@ -75,7 +75,7 @@ def parse_file_type(file_type): def parse_api_js(window, platform, uid=''): def get_args(f): - return list(inspect.getfullargspec(f).args) + return list(inspect....
Support for python <I> Replace getfullargspec with getargspec for python <I> support
py
diff --git a/salt/modules/linux_sysctl.py b/salt/modules/linux_sysctl.py index <HASH>..<HASH> 100644 --- a/salt/modules/linux_sysctl.py +++ b/salt/modules/linux_sysctl.py @@ -166,7 +166,7 @@ def persist(name, value, config=None): edited = False # If the sysctl.conf is not present, add it if not os.path.i...
linux_sysctl: use dirname() as suggested
py
diff --git a/hug/input_format.py b/hug/input_format.py index <HASH>..<HASH> 100644 --- a/hug/input_format.py +++ b/hug/input_format.py @@ -74,7 +74,7 @@ def multipart(body, **header_params): if header_params and 'boundary' in header_params: if type(header_params['boundary']) is str: header_pa...
Hypoitheticaly fixed issue with multipart requests
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3411,14 +3411,24 @@ class API: Use this endpoint to upload media to Twitter. This does not use the chunked upload endpoints. - :param filename: |filename| - :param file: |...
Update and improve documentation for API.simple_upload
py
diff --git a/raiden/api/rest.py b/raiden/api/rest.py index <HASH>..<HASH> 100644 --- a/raiden/api/rest.py +++ b/raiden/api/rest.py @@ -94,8 +94,14 @@ URLS_V1 = [ def api_response(result, status_code=HTTPStatus.OK): + if status_code == HTTPStatus.NO_CONTENT: + assert not result, 'Provided 204 response wit...
Check that result is zero length for <I> responses
py
diff --git a/src/livestreamer/stream/hls.py b/src/livestreamer/stream/hls.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/hls.py +++ b/src/livestreamer/stream/hls.py @@ -1,5 +1,7 @@ import io +import requests + from collections import defaultdict, namedtuple from time import time from threading impor...
stream.hls: Remember cookies set by variant playlist response. Resolves #<I>.
py
diff --git a/intern/remote/boss/tests/int_test_permission_v0_7.py b/intern/remote/boss/tests/int_test_permission_v0_7.py index <HASH>..<HASH> 100644 --- a/intern/remote/boss/tests/int_test_permission_v0_7.py +++ b/intern/remote/boss/tests/int_test_permission_v0_7.py @@ -58,7 +58,7 @@ class ProjectPermissionTest_v0_7(un...
fixed minor bug in permission test after API update
py
diff --git a/scoped_nodes.py b/scoped_nodes.py index <HASH>..<HASH> 100644 --- a/scoped_nodes.py +++ b/scoped_nodes.py @@ -1002,5 +1002,8 @@ class Class(Statement, LocalsDictNodeNG, FilterStmtsMixin): except NotFoundError: return - return meta.infered()[0] + # XXX: We could return ...
Return a string depicting the metaclass, not the metaclass itself.
py
diff --git a/src/hamster/edit_activity.py b/src/hamster/edit_activity.py index <HASH>..<HASH> 100644 --- a/src/hamster/edit_activity.py +++ b/src/hamster/edit_activity.py @@ -161,11 +161,13 @@ class CustomFactController(gobject.GObject): def on_activity_changed(self, widget): if not self.master_is_cmdline...
update activity and category from gui entries
py