hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
ab9cba59c226bd8cbb739fabc90500cc6ecf3f63
diff --git a/lib/puppet/parser/functions/realize.rb b/lib/puppet/parser/functions/realize.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/parser/functions/realize.rb +++ b/lib/puppet/parser/functions/realize.rb @@ -7,6 +7,12 @@ Puppet::Parser::Functions::newfunction(:realize, :arity => -2, :doc => "Make a v and, o...
(PUP-<I>) Make calling realize() illegal when running with --tasks
puppetlabs_puppet
train
e138aab02dd472a1db170c9e7127b42127a47e53
diff --git a/core/codegen/src/test/java/org/overture/codegen/tests/utils/CompileTests.java b/core/codegen/src/test/java/org/overture/codegen/tests/utils/CompileTests.java index <HASH>..<HASH> 100644 --- a/core/codegen/src/test/java/org/overture/codegen/tests/utils/CompileTests.java +++ b/core/codegen/src/test/java/org/...
Updated the test execution system with support for execution of tests where the output is a runtime error such as a pre condition failure
overturetool_overture
train
12303fb1699a5df78febe53cd91f6b4e1c88b93a
diff --git a/dpark/job.py b/dpark/job.py index <HASH>..<HASH> 100644 --- a/dpark/job.py +++ b/dpark/job.py @@ -84,7 +84,7 @@ class SimpleJob(Job): self.last_check = 0 for i in range(len(tasks)): - self.addPendingTask(i) + self._addPendingTask(i) self.host_cache = {} ...
Refactor: clarify interface between sched and job.
douban_dpark
train
125c1d11aab28e6adc234ebb31eccd04dd853412
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ exec(open('squad/version.py').read()) def valid_requirement(req): - return not (re.match('^\s*$', req) or re.match('^#', req)) + return not (re.match(r'^\s*$', req) or re.match('^#', req)) requirem...
Mark strings with escape sequences as raw strings
Linaro_squad
train
9a4012727365e4924b29d91ff7053c2306fc839f
diff --git a/news-bundle/contao/classes/News.php b/news-bundle/contao/classes/News.php index <HASH>..<HASH> 100644 --- a/news-bundle/contao/classes/News.php +++ b/news-bundle/contao/classes/News.php @@ -135,7 +135,22 @@ class News extends \Frontend if (!isset($arrUrls[$jumpTo])) { $objParent = \PageMode...
[News] Handle news archives or calendars being linked to an invalid target page (see #<I>)
contao_contao
train
6ffd5ed5b307f8f3a061612fb5d714f97c679b86
diff --git a/test/integration_tests/nginx_tests.rb b/test/integration_tests/nginx_tests.rb index <HASH>..<HASH> 100644 --- a/test/integration_tests/nginx_tests.rb +++ b/test/integration_tests/nginx_tests.rb @@ -37,7 +37,7 @@ describe "Phusion Passenger for Nginx" do log "End of test" if example.exception ...
Nginx integration test: do not crash when log file contains binary data
phusion_passenger
train
48c58dd6b3895fce6fd6143141fdeb46f26436d0
diff --git a/code/checkout/CheckoutPage.php b/code/checkout/CheckoutPage.php index <HASH>..<HASH> 100644 --- a/code/checkout/CheckoutPage.php +++ b/code/checkout/CheckoutPage.php @@ -86,11 +86,12 @@ class CheckoutPage_Controller extends Page_Controller { return false; } - $form = new PaymentForm( + $form = P...
API Support DI in PaymentForm and CheckoutComponent This commit allows OnSitePayment and CheckoutComponentConfig to be swapped in via Injector.
silvershop_silvershop-core
train
46d21ba82cd6faee789868bc96a684c074eaa7ad
diff --git a/pages/admin/forms.py b/pages/admin/forms.py index <HASH>..<HASH> 100644 --- a/pages/admin/forms.py +++ b/pages/admin/forms.py @@ -85,27 +85,33 @@ it must be unique among the other pages of the same level.') raise forms.ValidationError(another_page_error) if not settings.PAGE_UNI...
allow same page slug for pages on different sites when PAGE_UNIQUE_SLUG_REQUIRED unset
batiste_django-page-cms
train
22fa50065083d5b4dc770ee71b706ce4e773b9c5
diff --git a/lib/emailvision/api.rb b/lib/emailvision/api.rb index <HASH>..<HASH> 100644 --- a/lib/emailvision/api.rb +++ b/lib/emailvision/api.rb @@ -95,13 +95,7 @@ module Emailvision else raise e end - rescue Errno::ECONNRESET => e - if((retries -= 1) >= 0) - ...
[API] Tiny refactor
basgys_emailvision
train
853cd1c117ec810e5ebaf03f5122a2955912ada9
diff --git a/pypika/__init__.py b/pypika/__init__.py index <HASH>..<HASH> 100644 --- a/pypika/__init__.py +++ b/pypika/__init__.py @@ -38,4 +38,4 @@ from .utils import JoinException, GroupingException, CaseException, UnionExcepti __author__ = "Timothy Heys" __email__ = "theys@kayak.com" -__version__ = "0.1.5" \ No ...
Increased version to <I>
kayak_pypika
train
868e9706aa8a23066ce43e51c56a91458e3260e3
diff --git a/android/src/main/java/com/swmansion/reanimated/NativeProxy.java b/android/src/main/java/com/swmansion/reanimated/NativeProxy.java index <HASH>..<HASH> 100644 --- a/android/src/main/java/com/swmansion/reanimated/NativeProxy.java +++ b/android/src/main/java/com/swmansion/reanimated/NativeProxy.java @@ -68,7 ...
Remove old refference to jsexecutor (#<I>) ## Description I forgot about removing reference to JavaScriptExecutor, and this was a cause nullPointerException.
kmagiera_react-native-reanimated
train
b3bbd7a27a33472c79bfefa7219a8436ecaa20a9
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java +++ b/flink-runtime/src/m...
[hotfix] Remove SchedulerBase.initializeOperatorCoordinators Since we already know the MainThreadExecutor when creating the SchedulerBase, we can directly pass it to the construction of the coordinatorMap.
apache_flink
train
98e4dacd7a338b6404befcf333bdf5d84e6e82cd
diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index <HASH>..<HASH> 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -243,7 +243,7 @@ class MinkContext extends RawMinkContext implements T...
changed from $text to $pattern
Behat_MinkExtension
train
115b9dca7e5b8f95b3681dd318fb5b3330614c4a
diff --git a/.buildkite/dagster-buildkite/dagster_buildkite/cli.py b/.buildkite/dagster-buildkite/dagster_buildkite/cli.py index <HASH>..<HASH> 100755 --- a/.buildkite/dagster-buildkite/dagster_buildkite/cli.py +++ b/.buildkite/dagster-buildkite/dagster_buildkite/cli.py @@ -19,8 +19,11 @@ def dagster(): branch_nam...
exclude auto-generated builds from devtoolsf from the oss compatibility check (#<I>) Summary: Buildkite fails these anyways, so might as well prevent the logspew.
dagster-io_dagster
train
f9018e78ba65537f41585e40789be15f1b4987cc
diff --git a/lib/resourcery/controller_extensions.rb b/lib/resourcery/controller_extensions.rb index <HASH>..<HASH> 100644 --- a/lib/resourcery/controller_extensions.rb +++ b/lib/resourcery/controller_extensions.rb @@ -1,5 +1,21 @@ module Resourcery module ControllerExtensions + module Filters + def self.in...
Move setting of ivars into before_filters
hmans_resourcery
train
14b9f7b82e5fc91b5ab4f4f45bdf2c2ef51a14d3
diff --git a/cloudinary.php b/cloudinary.php index <HASH>..<HASH> 100644 --- a/cloudinary.php +++ b/cloudinary.php @@ -101,7 +101,8 @@ class Cloudinary { $params = array("w"=>$width, "h"=>$height, "t"=>$named_transformation, "c"=>$crop, "b"=>$background, "e"=>$effect); $simple_params = array("x"=>"x...
Support density and page. Support http public ids in non-fetch types (e.g. vimeo)
cloudinary_cloudinary_php
train
40c3761255cb60d3870bc05e94b69f7a9bc40b2c
diff --git a/tchannel/tornado/inbound_server.py b/tchannel/tornado/inbound_server.py index <HASH>..<HASH> 100644 --- a/tchannel/tornado/inbound_server.py +++ b/tchannel/tornado/inbound_server.py @@ -55,3 +55,5 @@ class InboundServer(tornado.tcpserver.TCPServer): else: # TODO return Error message ...
fix inbound server handling multi request from same client issue
uber_tchannel-python
train
be185fda11c39749f7d9d0481a7832d07e08f144
diff --git a/src/common/View.date-range.js b/src/common/View.date-range.js index <HASH>..<HASH> 100644 --- a/src/common/View.date-range.js +++ b/src/common/View.date-range.js @@ -227,11 +227,11 @@ View.mixin({ // Builds the "current" range when it is specified as an explicit duration. // `unit` is the already-compu...
when view duration is smaller that dateIncrement, use that for the date alignment
fullcalendar_fullcalendar
train
75fdd402f4f01ff8cebcff19a0aa9374a0e03bd3
diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/credential/TokenCredential.java b/sdk/core/azure-core/src/main/java/com/azure/core/credential/TokenCredential.java index <HASH>..<HASH> 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/credential/TokenCredential.java +++ b/sdk/core/azure-core/sr...
Add more info to getToken() method (#<I>) * Add more info to getToken() method * Fix javadocs * Improve doc wording on ChainedTokenCredential
Azure_azure-sdk-for-java
train
d10e7de10607c17119f3a8c137917ad009ab3e2d
diff --git a/pyes/exceptions.py b/pyes/exceptions.py index <HASH>..<HASH> 100644 --- a/pyes/exceptions.py +++ b/pyes/exceptions.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + from .utils import EqualityComparableUsingAttributeDictionary @@ -154,7 +154,7 @@ class TypeMissingEx...
Migrated exceptions to python3
aparo_pyes
train
bbb4adf8edaeb4481f6dac1d643cc387e8464332
diff --git a/src/Selection/Solr/Consts/Query.php b/src/Selection/Solr/Consts/Query.php index <HASH>..<HASH> 100644 --- a/src/Selection/Solr/Consts/Query.php +++ b/src/Selection/Solr/Consts/Query.php @@ -10,6 +10,9 @@ class Query const BRACKET_CLOSE = ']'; const BRACKET_OPEN = '['; + const CURLY_BRACKET_...
Added constants for open and close curly brackets.
g4code_data-mapper
train
6035d6e043fc11f7b88bc5d65d6c96df9893aa57
diff --git a/formly/urls.py b/formly/urls.py index <HASH>..<HASH> 100644 --- a/formly/urls.py +++ b/formly/urls.py @@ -4,8 +4,6 @@ from formly.views import design from formly.views import results from formly.views import run -import formly.receivers - urlpatterns = patterns("", url(r"^design/$", design.surv...
Remove unnecessary import in favor of site startup.py
eldarion_formly
train
9e1bdd02112774a4d67270e6aded1e59d258f0f9
diff --git a/pyneuroml/tune/NeuroMLTuner.py b/pyneuroml/tune/NeuroMLTuner.py index <HASH>..<HASH> 100644 --- a/pyneuroml/tune/NeuroMLTuner.py +++ b/pyneuroml/tune/NeuroMLTuner.py @@ -406,7 +406,7 @@ def run_2stage_optimization(prefix, known_target_values, dry_ru...
Returning values from run_2stage_optimization()
NeuroML_pyNeuroML
train
19f48dd2b60c0a5a584924520cbd3a74f09c87d3
diff --git a/test/libs/view.spec.js b/test/libs/view.spec.js index <HASH>..<HASH> 100644 --- a/test/libs/view.spec.js +++ b/test/libs/view.spec.js @@ -115,7 +115,7 @@ describe('View Class', () => { view.el.outerHTML.should.equal('<p><div class="foo">Thats</div><ul><li> nok nok </li></ul><div class="bar">nice</div...
view.spec.js: added missing semicolon
SerkanSipahi_app-decorators
train
e645e3b4d7e297a10e7e6875911a845c9de237a5
diff --git a/modules/activiti-webapp-rest/src/main/java/org/activiti/rest/api/cycle/TagsGet.java b/modules/activiti-webapp-rest/src/main/java/org/activiti/rest/api/cycle/TagsGet.java index <HASH>..<HASH> 100644 --- a/modules/activiti-webapp-rest/src/main/java/org/activiti/rest/api/cycle/TagsGet.java +++ b/modules/activ...
adjusted refactored method name in REST module
Activiti_Activiti
train
d2863fff097828aa65775d15da06845e820a8161
diff --git a/crawler_test.go b/crawler_test.go index <HASH>..<HASH> 100644 --- a/crawler_test.go +++ b/crawler_test.go @@ -16,7 +16,8 @@ func TestBasic(t *testing.T) { c.Options.CrawlDelay = 2 * time.Second c.Options.MaxVisits = 5 - c.Options.SameHostOnly = true + c.Options.SameHostOnly = false + c.Options.LogLev...
fix workers missing stop signal because of stacked channel
PuerkitoBio_gocrawl
train
1fb2ccd247f7369eb97bdaf86f9afd539ae48e16
diff --git a/lib/multiple_man.rb b/lib/multiple_man.rb index <HASH>..<HASH> 100644 --- a/lib/multiple_man.rb +++ b/lib/multiple_man.rb @@ -11,6 +11,7 @@ module MultipleMan require 'multiple_man/configuration' require 'multiple_man/model_publisher' require 'multiple_man/attribute_extractor' + require 'multiple...
Reorganize payload generation to it's own class
influitive_multiple_man
train
9beb55d1e6e7111d78a26936bce2ea62332134e7
diff --git a/stagpy/__main__.py b/stagpy/__main__.py index <HASH>..<HASH> 100644 --- a/stagpy/__main__.py +++ b/stagpy/__main__.py @@ -16,8 +16,18 @@ def main(): """StagPy entry point""" signal.signal(signal.SIGINT, sigint_handler) config = importlib.import_module('stagpy.config') - args = config.pars...
Handle StagpyError gracefully in __main__
StagPython_StagPy
train
f01620dcd5d20ccaff01cfdb450a0bd190bf0772
diff --git a/meshio/_flac3d.py b/meshio/_flac3d.py index <HASH>..<HASH> 100644 --- a/meshio/_flac3d.py +++ b/meshio/_flac3d.py @@ -1,10 +1,9 @@ """ I/O for FLAC3D format. """ -import logging import time -import numpy as np +import numpy from .__about__ import __version__ as version from ._mesh import Mesh @@ ...
remove useless code from flac3d
nschloe_meshio
train
7dfd9a3e2a96c7a66abc9165d729f219092da1c4
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -439,7 +439,7 @@ class Cortex(EventBus, DataModel, Runtime, s_ingest.IngestApi): fifo.resync(xmit=xmit) def _initCoreFifo(self, name): - node =...
Lifts fifo by name instead of lifting a random fifo
vertexproject_synapse
train
b1f1af7032f2968f804fee8b8257aa608f7ed888
diff --git a/src/SVGImage.php b/src/SVGImage.php index <HASH>..<HASH> 100644 --- a/src/SVGImage.php +++ b/src/SVGImage.php @@ -179,8 +179,8 @@ class SVGImage if (($style = trim($style)) === '') { continue; } - $style_spl = preg_split('/\s*:\s*/', $style); -...
Rename $style_spl to $split in SVGImage Achieves camelCase naming.
meyfa_php-svg
train
b622f48ea31587efdb7aff5c6746758fde5e192c
diff --git a/bin/mongodb-runner-worker.js b/bin/mongodb-runner-worker.js index <HASH>..<HASH> 100755 --- a/bin/mongodb-runner-worker.js +++ b/bin/mongodb-runner-worker.js @@ -9,5 +9,4 @@ run.worker(args, function(err) { process.exit(1); return; } - process.exit(0); });
bug: Fix mongo processes not being stopped The worker must not exit or the parent process wont be able to send `stop` that shuts down any mongo processes cleanly.
mongodb-js_runner
train
c3ffaea2d2aa031520cd4898814d054de3ec3a5a
diff --git a/src/FormKit/Layout/FieldsetLayout.php b/src/FormKit/Layout/FieldsetLayout.php index <HASH>..<HASH> 100644 --- a/src/FormKit/Layout/FieldsetLayout.php +++ b/src/FormKit/Layout/FieldsetLayout.php @@ -9,7 +9,7 @@ class FieldsetLayout extends BaseLayout { public $fieldset; - function __construct( $l...
Add hint widget support to FieldsetLayout
corneltek_FormKit
train
9749fd95966217ed1f78fd92c140c3d439e68978
diff --git a/src/main/java/com/monitorjbl/xlsx/StreamingReader.java b/src/main/java/com/monitorjbl/xlsx/StreamingReader.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/monitorjbl/xlsx/StreamingReader.java +++ b/src/main/java/com/monitorjbl/xlsx/StreamingReader.java @@ -127,6 +127,18 @@ public class StreamingRe...
Set the cell's style to allow detection of date formatted cells
monitorjbl_excel-streaming-reader
train
8b1ad781ea9f7514c3825cd21b2816c4ae23b552
diff --git a/src/org/jgroups/blocks/cs/TcpConnection.java b/src/org/jgroups/blocks/cs/TcpConnection.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/blocks/cs/TcpConnection.java +++ b/src/org/jgroups/blocks/cs/TcpConnection.java @@ -146,6 +146,8 @@ public class TcpConnection extends Connection { protecte...
- Fixed NPE in TcpConnection
belaban_JGroups
train
e98fbd37b45e07e7daa7150752ff234b6c17addd
diff --git a/test/extended/networking/ovs.go b/test/extended/networking/ovs.go index <HASH>..<HASH> 100644 --- a/test/extended/networking/ovs.go +++ b/test/extended/networking/ovs.go @@ -134,6 +134,7 @@ var _ = Describe("[networking] OVS", func() { } node, err = f1.Client.Nodes().Create(node) Expect(err).No...
Fix a bug in text/extended/networking/ovs.go if a test fails If the "when nodes are added and removed" test failed in certain spots, it would cause the test to exit without deleting the fake node record, which would cause slowdowns later on as the test infrastructure would occasionally wait 1m for the fake node to bec...
openshift_origin
train
698a509c59388126c30f5b32953c6fc57d14830e
diff --git a/Tests/PluginController/PluginControllerTest.php b/Tests/PluginController/PluginControllerTest.php index <HASH>..<HASH> 100644 --- a/Tests/PluginController/PluginControllerTest.php +++ b/Tests/PluginController/PluginControllerTest.php @@ -426,7 +426,7 @@ class PluginControllerTest extends \PHPUnit_Framework...
solved unit test error for generic Exception throwing
schmittjoh_JMSPaymentCoreBundle
train
9e1d681bc52c0c3876435ff00817ae0fcac79e91
diff --git a/eZ/Publish/Core/REST/Server/Values/ResourceDeleted.php b/eZ/Publish/Core/REST/Server/Values/ResourceDeleted.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/REST/Server/Values/ResourceDeleted.php +++ b/eZ/Publish/Core/REST/Server/Values/ResourceDeleted.php @@ -11,7 +11,4 @@ namespace eZ\Publish\Core\R...
REST: removed the empty ctor in ResourceDeleted
ezsystems_ezpublish-kernel
train
2dc6f30f1165a0db3a2902b063cf1c3889d017d5
diff --git a/core/frontend/services/rss/generate-feed.js b/core/frontend/services/rss/generate-feed.js index <HASH>..<HASH> 100644 --- a/core/frontend/services/rss/generate-feed.js +++ b/core/frontend/services/rss/generate-feed.js @@ -23,7 +23,7 @@ generateTags = function generateTags(data) { generateItem = function...
🐛 Fixed internal error for RSS feed when a post has no content no issue - initial report <URL>` will throw a "Cannot read property 'parent' of null" error so we need to ensure we at least load an empty string
TryGhost_Ghost
train
69d2d771fe08816980ee10e2ab34649dc3185332
diff --git a/rdbtools/cli/rdb.py b/rdbtools/cli/rdb.py index <HASH>..<HASH> 100755 --- a/rdbtools/cli/rdb.py +++ b/rdbtools/cli/rdb.py @@ -22,7 +22,7 @@ Example : %prog --command json -k "user.*" /var/redis/6379/dump.rdb""" parser.add_option("-t", "--type", dest="types", action="append", help=""...
Fixed a bug, renamed the argument Was using record.size instead of record.bytes. Also renamed the arguments to -b / --bytes to leave -s / --size open for perhaps another filter on the size of the key (number of elements)
sripathikrishnan_redis-rdb-tools
train
7b4768e1b4808842d24343192f8e1a4ed1b13ad8
diff --git a/src/edu/jhu/hltcoe/PipelineRunner.java b/src/edu/jhu/hltcoe/PipelineRunner.java index <HASH>..<HASH> 100644 --- a/src/edu/jhu/hltcoe/PipelineRunner.java +++ b/src/edu/jhu/hltcoe/PipelineRunner.java @@ -15,6 +15,7 @@ import edu.jhu.hltcoe.data.SentenceCollection; import edu.jhu.hltcoe.eval.DependencyParser...
Switching to a ILP sentence parser for eval git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I>
mgormley_pacaya
train
82d03607098fd71460c8b9cf20324849bf12daf7
diff --git a/src/Post/PostFile.php b/src/Post/PostFile.php index <HASH>..<HASH> 100644 --- a/src/Post/PostFile.php +++ b/src/Post/PostFile.php @@ -18,9 +18,9 @@ class PostFile implements PostFileInterface private $headers = []; /** - * @param null $name Name of the form field + * @par...
Update PostFile.php Fix constructor's docblock
guzzle_guzzle
train
be2c7e419a0018dc2f5d62f1d3d1a6be3b7e0631
diff --git a/driver/src/main/java/org/kaazing/robot/driver/netty/bootstrap/http/HttpChildChannelSink.java b/driver/src/main/java/org/kaazing/robot/driver/netty/bootstrap/http/HttpChildChannelSink.java index <HASH>..<HASH> 100644 --- a/driver/src/main/java/org/kaazing/robot/driver/netty/bootstrap/http/HttpChildChannelSi...
Apply RFC-<I> message body semantics to detect presence of request content and the need to specifiy Content-Length: 0 on response.
k3po_k3po
train
37190091a1e9b41349108a917717f387fa3d5d72
diff --git a/test/driver.js b/test/driver.js index <HASH>..<HASH> 100644 --- a/test/driver.js +++ b/test/driver.js @@ -45,12 +45,16 @@ function runTests(callback) { } } } + var totalTime = 0; function step(i) { if (i === tests.length){ running = false; return callback("done"); ...
Prevent tests from locking up browser on slower machines (closes #<I>).
codemirror_CodeMirror
train
fbc4cf362a9245032e631fdb4f3ec9b288eef9d4
diff --git a/awkward/type.py b/awkward/type.py index <HASH>..<HASH> 100644 --- a/awkward/type.py +++ b/awkward/type.py @@ -17,6 +17,8 @@ def _str(tpe, indent=""): return indent + str(tpe) class Type(object): + check = True + def hascolumn(self, name): return self._hascolumn(name, set()) @...
add backdoor to skip resolution of complex types that are known to be correct
scikit-hep_awkward-array
train
772c18e02811aa988a74bc4a9e999f153f1d8ad0
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/ac...
use the method so we do not depend on internal ivars
rails_rails
train
dc686e889b6135d087979fe6e41f7a88b08fe13d
diff --git a/docs/src/icons/catalog.js b/docs/src/icons/catalog.js index <HASH>..<HASH> 100644 --- a/docs/src/icons/catalog.js +++ b/docs/src/icons/catalog.js @@ -65,7 +65,7 @@ export class IconsCatalog extends Component { /> <p className="iconsCatalog_count"> ...
Add note about clicking icons in the catalog
jamesplease_materialish
train
1eba2ac5b4de362e4a2ab6cc07af6f843cc7093f
diff --git a/bin/pharos-kube-client b/bin/pharos-kube-client index <HASH>..<HASH> 100755 --- a/bin/pharos-kube-client +++ b/bin/pharos-kube-client @@ -21,13 +21,17 @@ Options = Struct.new( :create_service, :service_type, :service_port, - :resource, - :create_resource, - :update_resource, - :delete_resource...
load multiple resources from files to create/update/delete
kontena_k8s-client
train
87390a7f980406820ce9cb36f41df6809eaa1638
diff --git a/daemon/cmd/status.go b/daemon/cmd/status.go index <HASH>..<HASH> 100644 --- a/daemon/cmd/status.go +++ b/daemon/cmd/status.go @@ -141,6 +141,24 @@ func (d *Daemon) getMasqueradingStatus() *models.Masquerading { return s } +func (d *Daemon) getBandwidthManagerStatus() *models.BandwidthManager { + s := ...
cilium, status: add bandwidth manager status Add status info message about bandwidth manager. Example output with agent flag --enable-bandwidth-manager=true and supported kernel: # ./cilium/cilium status [...] BandwidthManager: EDT with BPF [eno1] [...] Otherwise: # ./cilium/cilium status [...] ...
cilium_cilium
train
a8f3ff9dc5f99c821d01678ef0af944377ee081b
diff --git a/bika/lims/content/abstractanalysis.py b/bika/lims/content/abstractanalysis.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/abstractanalysis.py +++ b/bika/lims/content/abstractanalysis.py @@ -195,6 +195,8 @@ class AbstractAnalysis(AbstractBaseAnalysis): @security.public def getLastVerific...
Return None if there is no 'verificator'.
senaite_senaite.core
train
f79c987e41f646c1f4d71c138307427f02102e3e
diff --git a/src/Message/AbstractRequest.php b/src/Message/AbstractRequest.php index <HASH>..<HASH> 100644 --- a/src/Message/AbstractRequest.php +++ b/src/Message/AbstractRequest.php @@ -30,7 +30,7 @@ namespace Omnipay\PayPal\Message; */ abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest ...
Bump up API_VERSION for Partner integration compliance (all the new features haven't been added yet, though)
thephpleague_omnipay-paypal
train
b0f7977412686fac557f8a26bcd4dc2805cf16d5
diff --git a/lib/sprockets/uglifier_compressor.rb b/lib/sprockets/uglifier_compressor.rb index <HASH>..<HASH> 100644 --- a/lib/sprockets/uglifier_compressor.rb +++ b/lib/sprockets/uglifier_compressor.rb @@ -17,7 +17,7 @@ module Sprockets # Sprockets::UglifierCompressor.new(comments: :copyright) # class U...
Raise instead of printing a warning
rails_sprockets
train
f842647fac922c08ffde73fe78f201b7cdfc367f
diff --git a/app-addon/components/nf-table.js b/app-addon/components/nf-table.js index <HASH>..<HASH> 100644 --- a/app-addon/components/nf-table.js +++ b/app-addon/components/nf-table.js @@ -309,17 +309,14 @@ export default Ember.Component.extend(TableColumnRegistrar, { @method doSort */ doSort: function(){ - v...
BUGFIX: sort element shuffling
Netflix_ember-nf-graph
train
ecfb92951a75e71b64fe93a8e9dff4a1bc67848c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,8 +57,8 @@ PY_MODULES = ['openquake.commands.__main__'] install_requires = [ 'setuptools', 'h5py >=2.9, <2.10', - 'numpy >=1.18, <1.19', - 'scipy >=1.4, <1.5', + 'numpy >=1.16, <1.19', + 'scipy >=1.3...
Fixed dependencies in setup.py [skip CI]
gem_oq-engine
train
31c799a0c9ee635ead8957523c15f89cf6ebdae0
diff --git a/tests/test_onnx.py b/tests/test_onnx.py index <HASH>..<HASH> 100644 --- a/tests/test_onnx.py +++ b/tests/test_onnx.py @@ -3,7 +3,7 @@ from os import sep from os.path import dirname, exists from shutil import rmtree -from tests.utils import require_tf, require_torch +from tests.utils import require_tf, ...
Tag onnx export tests as slow (#<I>)
huggingface_pytorch-pretrained-BERT
train
1677b808efa23a6aa1109ced507429741ef7244f
diff --git a/classes/Gems/Default/TokenPlanAction.php b/classes/Gems/Default/TokenPlanAction.php index <HASH>..<HASH> 100644 --- a/classes/Gems/Default/TokenPlanAction.php +++ b/classes/Gems/Default/TokenPlanAction.php @@ -340,10 +340,13 @@ jQuery("#period_end" ).attr("value", ui.values[1]).trigger("keyup"); ...
All overview screens (period, token, patient) now show organization dropdown when more than one is allowed - removing pr.plan.choose-org
GemsTracker_gemstracker-library
train
8d68001d5125cc39638fe93f91da8021fd9cbfe2
diff --git a/src/components/kepler-gl.js b/src/components/kepler-gl.js index <HASH>..<HASH> 100644 --- a/src/components/kepler-gl.js +++ b/src/components/kepler-gl.js @@ -398,10 +398,13 @@ function KeplerGlFactory( <IntlProvider locale={uiState.locale} messages={localeMessages[uiState.locale]}> ...
[Bug] Add style prop to kepler-gl container (#<I>) - add position relotive, height and width to global style
keplergl_kepler.gl
train
f3825d06b98e6ff1b0a52744493509e0b7c008fd
diff --git a/test/SerializerTest.php b/test/SerializerTest.php index <HASH>..<HASH> 100644 --- a/test/SerializerTest.php +++ b/test/SerializerTest.php @@ -54,7 +54,7 @@ class SerializerTest extends ObjectSerializerTestCase new WithOtherNamespace(new InOtherNamespace('foo'), new InOtherNamespace('bar')), ...
Changed check on DateTimeImmutable
JurJean_SpraySerializer
train
16f57c06476a568b1cd2c5e34a4ccefe08a8a845
diff --git a/webapps/services/search.js b/webapps/services/search.js index <HASH>..<HASH> 100644 --- a/webapps/services/search.js +++ b/webapps/services/search.js @@ -6,7 +6,6 @@ ngDefine('cockpit.services', function(module) { $rootScope.$on('$routeUpdate', function(e, lastRoute) { if (silent) { - ...
fix(cockpit): fix $routeChange silencing directive - search directive silences $routeChange event only when the url changed during search.updateSilently() (and thus a $routeUpdate event is expected).
camunda_camunda-bpm-platform
train
ecf0e94484164fc7c02d28b7bb4a08907a79eccc
diff --git a/upup/pkg/fi/cloudup/awsup/aws_cloud.go b/upup/pkg/fi/cloudup/awsup/aws_cloud.go index <HASH>..<HASH> 100644 --- a/upup/pkg/fi/cloudup/awsup/aws_cloud.go +++ b/upup/pkg/fi/cloudup/awsup/aws_cloud.go @@ -101,6 +101,11 @@ func NewAWSCloud(region string, tags map[string]string) (AWSCloud, error) { c := &aws...
Turn on verbose credentials error messages Issue #<I>
kubernetes_kops
train
216ee3ff54bfcb68fe2b43cfcf1434386a570af3
diff --git a/formats/table.js b/formats/table.js index <HASH>..<HASH> 100644 --- a/formats/table.js +++ b/formats/table.js @@ -45,9 +45,11 @@ class TableRow extends Container { const thisTail = this.children.tail.formats(); const nextHead = this.next.children.head.formats(); const nextTail = this.n...
fix lint and add to travis
quilljs_quill
train
0c14bfc929a22483a748d22d710aa4b3cca44803
diff --git a/pysoa/server/server.py b/pysoa/server/server.py index <HASH>..<HASH> 100644 --- a/pysoa/server/server.py +++ b/pysoa/server/server.py @@ -118,6 +118,14 @@ _MT = TypeVar('_MT', ServerMiddlewareActionTask, ServerMiddlewareJobTask) _RT = TypeVar('_RT', JobResponse, ActionResponse) +def _replace_fid(d, fi...
[MINOR] Add gauges to track running and busy PySOA workers Now that we're using PyMetrics, we can move some once-internal metrics logic into PySOA proper, which improves the accuracy of those metrics and decreases the surface area of our internal code.
eventbrite_pysoa
train
a6ba72f43a6bd58e6f00bcb06aca110914ee2f47
diff --git a/pytuya/__init__.py b/pytuya/__init__.py index <HASH>..<HASH> 100644 --- a/pytuya/__init__.py +++ b/pytuya/__init__.py @@ -390,6 +390,34 @@ class BulbDevice(Device): return hexvalue + def _hexvalue_to_rgb(hexvalue): + """ + Converts the hexvalue used by tuya for colour represen...
Added functions to convert from hexvalue to rgb and hsv
clach04_python-tuya
train
152705ac900df3faab03b7614483187bd370c5c1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -4,11 +4,9 @@ var sendError = require('./utils').sendError; module.exports = function init(app, options) { if (!app) return new Promise.reject(new Error('App is not defined')); - var ACL = app.models.ACL; - - var Role ...
Config support for ACL, Role, RoleMapping models. Config support for ACL, Role, RoleMapping models so that its possible to configure them like "loopback-component-roles": { "userModel": "MyUser", "aclModel": "MyACL", "roleModel": "MyRole", "roleMappingModel": "MyRoleMapping" }
AurelieV_loopback-component-roles
train
c6e096e827bfe6813088ce884fac0365ba7f6c5d
diff --git a/config/rollup.config.js b/config/rollup.config.js index <HASH>..<HASH> 100644 --- a/config/rollup.config.js +++ b/config/rollup.config.js @@ -30,9 +30,9 @@ const copyright = ' * Released under the ' + pack.license + ' License.\n' + ' */'; -const entry = p.resolve(src + '/index.js'); +const entry = p....
resolves path and reuses filename
infernojs_inferno
train
0690c742277fff91e5380e8b72e779c3b192661c
diff --git a/agent.go b/agent.go index <HASH>..<HASH> 100644 --- a/agent.go +++ b/agent.go @@ -268,6 +268,9 @@ func (a *HostAgent) waitForProcessToDie(conn *zk.Conn, containerId string, procF output, err = cmd.CombinedOutput() if err != nil { glog.Errorf("docker wait exited with: %s : %s", err, string(output)...
add a TODO for revisiting how logs are extracted from containers
control-center_serviced
train
a0f374ce8d17057003fc1ebd958c9a8ee59a3358
diff --git a/data/pieceStore/store.go b/data/pieceStore/store.go index <HASH>..<HASH> 100644 --- a/data/pieceStore/store.go +++ b/data/pieceStore/store.go @@ -40,8 +40,12 @@ func (me *store) incompletePiecePath(p metainfo.Piece) string { hex.EncodeToString(p.Hash())) } -func (me *store) OpenTorrentData(info *meta...
Check piece completion state as soon as a handle to torrent data is obtained from a piece store This helps flex the new concurrency implementation in the piece store http backend
anacrolix_torrent
train
70c5f1723ff5c872e37c3993a7843f6493f0c6aa
diff --git a/discord/embeds.py b/discord/embeds.py index <HASH>..<HASH> 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -509,7 +509,7 @@ class Embed: pass else: if timestamp: - result['timestamp'] = timestamp.isoformat() + result['timestamp'] = ...
Fix Embed.to_dict to work with TZ aware datetime objects.
Rapptz_discord.py
train
81548c113432c0c5e0a1cc12c910523987d94d8a
diff --git a/Resolver/TypeResolver.php b/Resolver/TypeResolver.php index <HASH>..<HASH> 100644 --- a/Resolver/TypeResolver.php +++ b/Resolver/TypeResolver.php @@ -24,7 +24,7 @@ class TypeResolver extends AbstractResolver public function __construct(CacheItemPoolInterface $cacheAdapter = null) { - $th...
Disabled type resolver cache serialization this was leading to duplication of types when unserialized cache
overblog_GraphQLBundle
train
0278d5a5d345a6bede7835088d5d759d6d8700aa
diff --git a/storage/google/cloud/storage/acl.py b/storage/google/cloud/storage/acl.py index <HASH>..<HASH> 100644 --- a/storage/google/cloud/storage/acl.py +++ b/storage/google/cloud/storage/acl.py @@ -196,7 +196,7 @@ class ACL(object): 'bucketOwnerFullControl', ]) """See: - https://cloud.google....
Update <I> redirects for storage documentation.
googleapis_google-cloud-python
train
84b2c334c375fe0aee49decae2f3f79c00dd60da
diff --git a/subschedule.go b/subschedule.go index <HASH>..<HASH> 100644 --- a/subschedule.go +++ b/subschedule.go @@ -97,23 +97,25 @@ type SubscriptionSchedulePhaseItemParams struct { // SubscriptionSchedulePhaseParams is a structure representing the parameters allowed to control // a phase on a subscription schedul...
Fix `ApplicationFeePercent` on `SubscriptionSchedule` to support floats
stripe_stripe-go
train
3eb1e44549cb1b39cbe6478b9c8eaf9ed46024ee
diff --git a/lib/gulp-src-wrapper.js b/lib/gulp-src-wrapper.js index <HASH>..<HASH> 100644 --- a/lib/gulp-src-wrapper.js +++ b/lib/gulp-src-wrapper.js @@ -6,6 +6,9 @@ function makeWrapper(gulp) { return { run: function(patterns, callback) { var files = []; + var options = { + read: false + ...
not looking a file content so don't read it
psalaets_gulp-src-viewer
train
71133ed89547e318d4f4a891422c540e95e63add
diff --git a/lib/sidekiq-rate-limiter/fetch.rb b/lib/sidekiq-rate-limiter/fetch.rb index <HASH>..<HASH> 100644 --- a/lib/sidekiq-rate-limiter/fetch.rb +++ b/lib/sidekiq-rate-limiter/fetch.rb @@ -1,3 +1,5 @@ +require 'sidekiq' +require 'celluloid' if Sidekiq::VERSION < "4" require 'sidekiq/fetch' require 'redis_rate_l...
Load celluloid for legacy support
enova_sidekiq-rate-limiter
train
ae5b5be597d62833044dea790957372d95ceb7c6
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/reactor/core/ReactorCoreAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/reactor/core/ReactorCoreAutoConfigurationTests.java ind...
Reset flag after each test as well to avoid side effects
spring-projects_spring-boot
train
82f54179d16b413bf07a81413ef6ff659839facf
diff --git a/sgf.py b/sgf.py index <HASH>..<HASH> 100644 --- a/sgf.py +++ b/sgf.py @@ -72,13 +72,23 @@ class GameTree(object): self.parent.setup() def __iter__(self): - return NodeIterator(self) + return NodeIterator(self.nodes[0]) @property def root(self): return self...
added GameTree.rest property rest of #3
jtauber_sgf
train
6e85f2ca1db7edc223eb16a5d1ec768044629402
diff --git a/yangson/instance.py b/yangson/instance.py index <HASH>..<HASH> 100644 --- a/yangson/instance.py +++ b/yangson/instance.py @@ -1017,6 +1017,8 @@ class ResourceIdParser(Parser): name, ns = self.prefixed_name() cn = sn.get_data_child(name, ns) if cn is None: + ...
Fix parsing of actions in resource identifiers
CZ-NIC_yangson
train
33d42abe205bc7c491c181c4b14cd928ee75135f
diff --git a/lib/uber/builder.rb b/lib/uber/builder.rb index <HASH>..<HASH> 100644 --- a/lib/uber/builder.rb +++ b/lib/uber/builder.rb @@ -1,4 +1,4 @@ -require "uber/options" +require "uber/option" module Uber # When included, allows to add builder on the class level. @@ -71,7 +71,7 @@ module Uber # ...
use Option in builder, now.
apotonick_uber
train
541ca062f146b22cf667bd9629fd33bedccfa062
diff --git a/lib/dml/tests/dml_test.php b/lib/dml/tests/dml_test.php index <HASH>..<HASH> 100644 --- a/lib/dml/tests/dml_test.php +++ b/lib/dml/tests/dml_test.php @@ -990,6 +990,22 @@ class dml_testcase extends database_driver_testcase { $this->assertEquals($e->errorcode, 'textconditionsnotallowed'); ...
MDL-<I> test nested recordset iteration
moodle_moodle
train
905a3f7909ff9c1ed4cdd6813259aa85cb13ff82
diff --git a/pkg/apiserver/api_installer.go b/pkg/apiserver/api_installer.go index <HASH>..<HASH> 100644 --- a/pkg/apiserver/api_installer.go +++ b/pkg/apiserver/api_installer.go @@ -59,7 +59,6 @@ func (a *APIInstaller) Install() (ws *restful.WebService, errors []error) { watchHandler := (&WatchHandler{ storage: a...
Updating the handlers to accept full request path rather than a trimmed one
kubernetes_kubernetes
train
a499c41fec267ef21c35a06d69f9a457d35c86e7
diff --git a/gearbox/commands/serve.py b/gearbox/commands/serve.py index <HASH>..<HASH> 100644 --- a/gearbox/commands/serve.py +++ b/gearbox/commands/serve.py @@ -23,6 +23,7 @@ import platform from gearbox.utils.log import setup_logging from paste.deploy import loadapp, loadserver +from paste.deploy.converters impo...
Permit to use threaded server on wsgiref to cope with browsers that Keep-Alive the connection
TurboGears_gearbox
train
3a353e004cf2a7b4428bd0843739f44754644980
diff --git a/config/config.php b/config/config.php index <HASH>..<HASH> 100644 --- a/config/config.php +++ b/config/config.php @@ -171,5 +171,13 @@ return [ */ 'register' => [ 'translations' => true, + /** + * load files on boot or register method + * + * Note: boot not...
include files while booting app. in some situations, files of the module need to access to config of the module, but right now files include in the regsiter method when config of modules doesn’t load yet ( it's will be available only if Laravel config is cached) So, I think included files is best to load on boot func...
nWidart_laravel-modules
train
74b66c00f0aeb82a3d7f82ec2aa9ac16cf35b2e5
diff --git a/Command/GenerateAdminCommand.php b/Command/GenerateAdminCommand.php index <HASH>..<HASH> 100644 --- a/Command/GenerateAdminCommand.php +++ b/Command/GenerateAdminCommand.php @@ -228,6 +228,8 @@ class GenerateAdminCommand extends ContainerAwareCommand ); $input->setOption('services...
Set services option default-value to null in command Sonata\AdminBundle\Command\GenerateAdminCommand. Fixes #<I> (#<I>)
sonata-project_SonataAdminBundle
train
58aeb2c6ec778740f5cbf3ab24183c20e0936a34
diff --git a/lib/httparty/parser.rb b/lib/httparty/parser.rb index <HASH>..<HASH> 100644 --- a/lib/httparty/parser.rb +++ b/lib/httparty/parser.rb @@ -38,16 +38,17 @@ module HTTParty # @abstract Read the Custom Parsers section for more information. class Parser SupportedFormats = { - 'text/xml' ...
add ability to parse response from JSONAPI
jnunemaker_httparty
train
054d8fc7abea43815f3b64cf6b1208d3d7f5f3a0
diff --git a/tests/test_generate_context.py b/tests/test_generate_context.py index <HASH>..<HASH> 100644 --- a/tests/test_generate_context.py +++ b/tests/test_generate_context.py @@ -13,6 +13,7 @@ TestGenerateContext.test_generate_context_with_default_and_extra """ from __future__ import unicode_literals +import co...
Implement a test for unused vars in apply_overwrites
audreyr_cookiecutter
train
b470a628169ee8705a261e4015a4c8b0030e8eee
diff --git a/evergreen/futures/_base.py b/evergreen/futures/_base.py index <HASH>..<HASH> 100644 --- a/evergreen/futures/_base.py +++ b/evergreen/futures/_base.py @@ -7,6 +7,7 @@ import evergreen from evergreen.event import Event from evergreen.locks import Condition, Lock from evergreen.log import log +from evergre...
Simplify futures.as_completed implementation
saghul_evergreen
train
053ebc844c0e87f51e63dced91fa6bf59183318c
diff --git a/pnc_cli/buildconfigurations.py b/pnc_cli/buildconfigurations.py index <HASH>..<HASH> 100644 --- a/pnc_cli/buildconfigurations.py +++ b/pnc_cli/buildconfigurations.py @@ -14,6 +14,8 @@ from pnc_cli.swagger_client import ProductversionsApi from pnc_cli.swagger_client import ProjectsApi import pnc_cli.user_...
[NCL-<I>] Add flag for build/buildset temp build
project-ncl_pnc-cli
train
b24209205adb691b3fe0d145cfd61e1762f3dc8e
diff --git a/core/src/main/java/org/infinispan/transaction/tm/DummyTransaction.java b/core/src/main/java/org/infinispan/transaction/tm/DummyTransaction.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/transaction/tm/DummyTransaction.java +++ b/core/src/main/java/org/infinispan/transaction/tm/Dum...
ISPN-<I> XA transactions already committed in prepare as XA_RDONLY fail on commit with "ISPN<I>: exception while committing: javax.transaction.xa.XAException" * we maintain a status for each resource * resources that were prepared with status XA_RDONLY * are skipped on commit
infinispan_infinispan
train
4c6c0d3f04a5af98b9d24c7edb7e6b278f150fc0
diff --git a/src/Module/Smtp.php b/src/Module/Smtp.php index <HASH>..<HASH> 100644 --- a/src/Module/Smtp.php +++ b/src/Module/Smtp.php @@ -154,7 +154,7 @@ class Smtp extends Module */ public function seeTextInEmail($str) { - $this->assertTrue($this->contains($str, $this->driver->getStringsByEmail($this...
Fix formatting and add missing closing parenthesis
AhmedSamy_codeception-smtp-mail
train
0af512b38ae2081f86738a7407f675f8eedf1a4e
diff --git a/eZ/Publish/API/Repository/Values/Content/Language.php b/eZ/Publish/API/Repository/Values/Content/Language.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/API/Repository/Values/Content/Language.php +++ b/eZ/Publish/API/Repository/Values/Content/Language.php @@ -15,29 +15,29 @@ class Language extends ValueO...
Fix Language Value object not having protected properties
ezsystems_ezpublish-kernel
train
e75e7750f2d2944a824cd8f3a2b65b35fc227c66
diff --git a/authentication.go b/authentication.go index <HASH>..<HASH> 100644 --- a/authentication.go +++ b/authentication.go @@ -133,6 +133,9 @@ func (s *AuthenticationService) GetCurrentUser() (*Session, error) { if err != nil { return nil, fmt.Errorf("Error sending request to get user info : %s", err) } + if...
Adds test for authentication on expected json. Adds test to metaissue
andygrunwald_go-jira
train
c0addf208d4408d327b7f1000d617c8c2507f55f
diff --git a/src/cli.js b/src/cli.js index <HASH>..<HASH> 100644 --- a/src/cli.js +++ b/src/cli.js @@ -24,7 +24,8 @@ var path = require('path') - , help = require('./help') +, help = require('./help') +, fs = require('fs') // nopt and underscore are require()d in try-catch below to print a nice error // m...
moved require('fs') to top
apache_cordova-cli
train
821939deb3dd41c315591841e9eb2b6c9aa9cc23
diff --git a/katcp/__init__.py b/katcp/__init__.py index <HASH>..<HASH> 100644 --- a/katcp/__init__.py +++ b/katcp/__init__.py @@ -14,4 +14,4 @@ except ImportError: from katcp import Message, KatcpSyntaxError, MessageParser, DeviceClient, \ BlockingClient, DeviceMetaclass, DeviceServerBase, \ - ...
Default to WARN level and provide helper method to log to python logging git-svn-id: <URL>
ska-sa_katcp-python
train
28d8f453c8ed501c359c062502256dbc2987d74c
diff --git a/lib/svtplay_dl/service/dr.py b/lib/svtplay_dl/service/dr.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/dr.py +++ b/lib/svtplay_dl/service/dr.py @@ -7,8 +7,8 @@ import sys from svtplay_dl.service import Service, OpenGraphThumbMixin from svtplay_dl.utils import get_http_data, select_quality...
dr: convert into new video fetcher
spaam_svtplay-dl
train
dac4ef0e30fb5dd26ef41eb74854919cf5295450
diff --git a/subprocrunner/error.py b/subprocrunner/error.py index <HASH>..<HASH> 100644 --- a/subprocrunner/error.py +++ b/subprocrunner/error.py @@ -9,10 +9,15 @@ from __future__ import absolute_import, unicode_literals class CommandError(Exception): @property + def cmd(self): + return self.__cmd + ...
Add a property to an exception class
thombashi_subprocrunner
train
f98a5ca726a9d88e3a0a79a9c795c0e670e62afe
diff --git a/js/src/jupyter-leaflet.js b/js/src/jupyter-leaflet.js index <HASH>..<HASH> 100644 --- a/js/src/jupyter-leaflet.js +++ b/js/src/jupyter-leaflet.js @@ -63,6 +63,12 @@ var LeafletMarkerView = LeafletUILayerView.extend({ model_events: function () { LeafletMarkerView.__super__.model_events.apply...
Add Marker property change event handlers
jupyter-widgets_ipyleaflet
train
8cf619856fc3fe26642e2b1f25deacb3171f750a
diff --git a/acos_client/v30/slb/hm.py b/acos_client/v30/slb/hm.py index <HASH>..<HASH> 100644 --- a/acos_client/v30/slb/hm.py +++ b/acos_client/v30/slb/hm.py @@ -67,7 +67,7 @@ class HealthMonitor(base.BaseV30): def _set(self, name, mon_method, hm_interval, hm_timeout, hm_max_retries, method=None, ...
[STACK-<I>] Health Monitor overwrite-port enhancement
a10networks_acos-client
train
5e76ea1be1738f2274241e4ec8c3311d9dc6178b
diff --git a/greenwich/raster.py b/greenwich/raster.py index <HASH>..<HASH> 100644 --- a/greenwich/raster.py +++ b/greenwich/raster.py @@ -73,8 +73,8 @@ class AffineTransform(object): """Affine transformation between projected and pixel coordinate spaces.""" def __init__(self, ul_x, scale_x, rx, ul_y, ry, s...
Use property setters to update affine and spatial ref
bkg_greenwich
train
01c392cbdda7061d3022c39804eedf81ebf53210
diff --git a/src/tracing/importer/trace_event_importer_test.js b/src/tracing/importer/trace_event_importer_test.js index <HASH>..<HASH> 100644 --- a/src/tracing/importer/trace_event_importer_test.js +++ b/src/tracing/importer/trace_event_importer_test.js @@ -1478,6 +1478,34 @@ base.unittest.testSuite('tracing.importer....
Change bound test tolerance to 1ns instead of 1ps Bound test is used by createSubRows and createSubSlices, to place a slice as a subSlice of another. The test fails altough it should succeed. Relaxing the tolerance handled all repored cases where an overlap (instead of a nest) happened. BUG=trace-viewer:<I> <URL>
catapult-project_catapult
train
d47401e2d68f9bd7cbc2153772c8d5aa0aa84cd6
diff --git a/grab/base.py b/grab/base.py index <HASH>..<HASH> 100644 --- a/grab/base.py +++ b/grab/base.py @@ -22,7 +22,7 @@ import time import re import json -from proxylist import ProxyList +from proxylist import ProxyList, parse_proxyline from tools.html import find_refresh_url, find_base_url from response imp...
Add setup_with_proxyline method to Grab. Refactory Proxylist class
lorien_grab
train
f7c1c66348b956115d7fb5f97837d9c20c3e2ec5
diff --git a/simple_history/models.py b/simple_history/models.py index <HASH>..<HASH> 100644 --- a/simple_history/models.py +++ b/simple_history/models.py @@ -71,10 +71,14 @@ class HistoricalRecords(object): def finalize(self, sender, **kwargs): try: - if not issubclass(sender, self.cls): - ...
Handle non-abstract inheritance
treyhunner_django-simple-history
train