hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
c755c87437fd080f833705cc537dfb094a6072c2
diff --git a/lib/simpletest/testnavigationlib.php b/lib/simpletest/testnavigationlib.php index <HASH>..<HASH> 100644 --- a/lib/simpletest/testnavigationlib.php +++ b/lib/simpletest/testnavigationlib.php @@ -167,10 +167,10 @@ class navigation_node_test extends UnitTestCase { $this->node->find_expandable($expand...
navigation MDL-<I> branchid was renamed to key in previous fixes, unit tests updated to reflect this
moodle_moodle
train
php
cabfdf528f176dfcd1b5f5c687a9a34c5899d7d4
diff --git a/src/main/java/com/typesafe/config/impl/Parseable.java b/src/main/java/com/typesafe/config/impl/Parseable.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/typesafe/config/impl/Parseable.java +++ b/src/main/java/com/typesafe/config/impl/Parseable.java @@ -228,34 +228,6 @@ public abstract class Parsea...
remove ParseableInputStream, not used We only let you parse a reader, so we don't have to play "what encoding is this stream in"
lightbend_config
train
java
b515925d5e00447a2b1295a595bf157998baa0de
diff --git a/assets/test/e2e/test.js b/assets/test/e2e/test.js index <HASH>..<HASH> 100644 --- a/assets/test/e2e/test.js +++ b/assets/test/e2e/test.js @@ -293,12 +293,12 @@ describe('', function() { for (var key in project) { element(by.model(key)).clear().sendKeys(project[key]); } - ...
Disable create project in console integration tests
openshift_origin
train
js
d62378d301017a82cb32e95d24895027d0071f25
diff --git a/src/Administration/Resources/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js b/src/Administration/Resources/administration/src/module/sw-customer/view/sw-customer-detail-addresses/index.js index <HASH>..<HASH> 100644 --- a/src/Administration/Resources/administration/src/mod...
NEXT-<I> - Fix deletion of customer addresses
shopware_platform
train
js
37c72186f7cd585a0ceab8d11c3baede009ca961
diff --git a/ez_setup.py b/ez_setup.py index <HASH>..<HASH> 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -36,7 +36,7 @@ try: except ImportError: USER_SITE = None -DEFAULT_VERSION = "11.4" +DEFAULT_VERSION = "11.3.1" DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/" def _python_cmd(*args...
Bumped to <I> in preparation for next release.
pypa_setuptools
train
py,py
2e67341d268896092e27d799f81db7cd57164815
diff --git a/lib/bibclassifylib.py b/lib/bibclassifylib.py index <HASH>..<HASH> 100644 --- a/lib/bibclassifylib.py +++ b/lib/bibclassifylib.py @@ -29,7 +29,6 @@ import os import sre import sys import time -import MySQLdb import Numeric import signal import traceback
Changed database access code in order not to depend on MySQLdb but rather on dbquery only. Functions like escape_string() or exceptions like DatabaseError should rather be imported from there. Useful for potential future database abstraction.
inveniosoftware-contrib_invenio-classifier
train
py
3c86f77a4778796582fbc551e5329f395964e3d6
diff --git a/Neos.Media/Documentation/conf.py b/Neos.Media/Documentation/conf.py index <HASH>..<HASH> 100644 --- a/Neos.Media/Documentation/conf.py +++ b/Neos.Media/Documentation/conf.py @@ -59,9 +59,9 @@ author = u'Neos Team and Contributors' # built documents. # # The short X.Y version. -version = 'dev-7.0' +versi...
TASK: Adjust version numbers (again)
neos_neos-development-collection
train
py,py
9b86c3d07193657dec76d07d64f3b3a8676aeb82
diff --git a/src/GetOptionKit/Argument.php b/src/GetOptionKit/Argument.php index <HASH>..<HASH> 100644 --- a/src/GetOptionKit/Argument.php +++ b/src/GetOptionKit/Argument.php @@ -31,6 +31,11 @@ class Argument && (substr($this->arg,1,1) !== '-'); } + function isEmpty() + { + return empty...
Check for required value is now validates emptiness of next argument
c9s_GetOptionKit
train
php,php
0e6b74f83e7f7c9a8e78852d561e41a90486a992
diff --git a/hoard/frontend.py b/hoard/frontend.py index <HASH>..<HASH> 100644 --- a/hoard/frontend.py +++ b/hoard/frontend.py @@ -105,6 +105,7 @@ class FrontEnd(object): self.config_set('token', token) self.api = API(url, token) + print('You have successfully logged in') def logout(se...
Add msg about being logged in
ghickman_hoard-cli
train
py
c80f7414965033a2a9fc18eee668034aab82cde0
diff --git a/tests/TestCase/Cache/Engine/FileEngineTest.php b/tests/TestCase/Cache/Engine/FileEngineTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Cache/Engine/FileEngineTest.php +++ b/tests/TestCase/Cache/Engine/FileEngineTest.php @@ -28,13 +28,6 @@ use Cake\TestSuite\TestCase; class FileEngineTest extends...
remove unused property The core doesn't expect to use a public config property - at best it does nothing, at worst it suggests to users they should create it
cakephp_cakephp
train
php
d1201e1b8f559f17c3738ce5455132843dfe1e85
diff --git a/controllers/map-controller.js b/controllers/map-controller.js index <HASH>..<HASH> 100644 --- a/controllers/map-controller.js +++ b/controllers/map-controller.js @@ -174,6 +174,8 @@ ((typeof center === 'string') && center.match(/\{\{.*\}\}/)) ) { mapOptions.center = new google.maps...
Add files via upload fix for center="{{latLngString}}" - now creates google latLng from string
allenhwkim_angularjs-google-maps
train
js
1f7767027564b8bec0f0acfee2497aa1a056498e
diff --git a/src/SnooPHP/Utils/helpers.php b/src/SnooPHP/Utils/helpers.php index <HASH>..<HASH> 100644 --- a/src/SnooPHP/Utils/helpers.php +++ b/src/SnooPHP/Utils/helpers.php @@ -185,7 +185,19 @@ if (!function_exists("parse_string")) { if (is_string($value)) { + // Decoding from json does it automatically for...
parse_string() helper now uses json decode function, (not sure it's faster but it surely is nicer)
snoophp_framework
train
php
c859f984e510eaa46a901f13fa31555fdaeb504a
diff --git a/arxivcheck/arxiv.py b/arxivcheck/arxiv.py index <HASH>..<HASH> 100644 --- a/arxivcheck/arxiv.py +++ b/arxivcheck/arxiv.py @@ -53,7 +53,7 @@ def generate_bib_from_arxiv(arxiv_item, arxiv_id): return bib -def check_arxiv_published(arxiv_id, abbrev_journal): +def check_arxiv_published(arxiv_id, abbre...
Journal name will not be abbreviated by default
bibcure_arxivcheck
train
py,py
69840d8cc3afafac92db72174121201b497f6d89
diff --git a/spacy/scorer.py b/spacy/scorer.py index <HASH>..<HASH> 100644 --- a/spacy/scorer.py +++ b/spacy/scorer.py @@ -47,7 +47,7 @@ class Scorer(object): if not self.skip_token(i, token, gold): self.total += 1 if verbose: - print token.orth_, token....
* Tweak verbose output printing in scorer.py
explosion_spaCy
train
py
154c73d9e658db3833e8857254ee81aa405c6a55
diff --git a/spec/controllers/articles_controller_spec.rb b/spec/controllers/articles_controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/controllers/articles_controller_spec.rb +++ b/spec/controllers/articles_controller_spec.rb @@ -59,7 +59,9 @@ describe ArticlesController do end it 'should have ...
Use nested contains matcher to match content by regular expression. Webrat's have_selector does not take regular expressions. Use a block instead to match with contains.
publify_publify
train
rb
fa120ed43f14da5ffe4b56b1e8ba9128c4a44295
diff --git a/app/public/scripts/resultsCtrl.js b/app/public/scripts/resultsCtrl.js index <HASH>..<HASH> 100644 --- a/app/public/scripts/resultsCtrl.js +++ b/app/public/scripts/resultsCtrl.js @@ -255,7 +255,7 @@ app.controller('ResultsCtrl', function ($scope) { $scope.phantomasResults.metrics.evalCa...
The avg nbr of global variables is prety high...
gmetais_YellowLabTools
train
js
b9edf8b27d4ad14d1385c776be8856e7bfc813a8
diff --git a/src/views/choice.php b/src/views/choice.php index <HASH>..<HASH> 100644 --- a/src/views/choice.php +++ b/src/views/choice.php @@ -10,7 +10,7 @@ <?php if ($showField): ?> <?php foreach ((array)$options['children'] as $child): ?> - <?= $child->render(['selected' => $options['selected']], true,...
ChoiceType template: deal with attr
kristijanhusak_laravel-form-builder
train
php
d6baf59b671ba0f9fa759078b10ed1f438d7f3b3
diff --git a/simulator/src/main/java/com/hazelcast/simulator/protocol/core/AddressLevel.java b/simulator/src/main/java/com/hazelcast/simulator/protocol/core/AddressLevel.java index <HASH>..<HASH> 100644 --- a/simulator/src/main/java/com/hazelcast/simulator/protocol/core/AddressLevel.java +++ b/simulator/src/main/java/c...
Fixed "magic number" SonarQube issue.
hazelcast_hazelcast-simulator
train
java
8a80e462a4319a559828719d9aac0c92b971306a
diff --git a/tasks/lib/compiler/minify.js b/tasks/lib/compiler/minify.js index <HASH>..<HASH> 100644 --- a/tasks/lib/compiler/minify.js +++ b/tasks/lib/compiler/minify.js @@ -39,10 +39,15 @@ function parseDestFile (grunt, task) { }); // Match _$_.Module - file = file.replace(/\_\$\_\s*\.\s*([A-Za-z0-9-_]...
{Fix: minify.js} Remove tampered CLASS and _. references inside of strings to prevent parsing errors.
jeanamarante_catena
train
js
17a25c59c662a471018fd420e6bf9e6b398c1093
diff --git a/service/src/main/java/org/ops4j/pax/logging/internal/LogReaderServiceImpl.java b/service/src/main/java/org/ops4j/pax/logging/internal/LogReaderServiceImpl.java index <HASH>..<HASH> 100644 --- a/service/src/main/java/org/ops4j/pax/logging/internal/LogReaderServiceImpl.java +++ b/service/src/main/java/org/op...
PAXLOGGING-<I> Synchronize access to log entries buffer for structural changes (add and remove)
ops4j_org.ops4j.pax.logging
train
java
8204f4071ade6b807912cb8a6d5b689304969d09
diff --git a/harpoon/ship/builders/normal.py b/harpoon/ship/builders/normal.py index <HASH>..<HASH> 100644 --- a/harpoon/ship/builders/normal.py +++ b/harpoon/ship/builders/normal.py @@ -23,7 +23,7 @@ class NormalBuilder(BuilderBase): # Login into the correct registry current_tags = chain.from_iterabl...
Perhaps login based on the image we need to pull
delfick_harpoon
train
py
c6ff5a04f7d97c9702987d9e5454d141346aab4a
diff --git a/plugins/src/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java b/plugins/src/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java index <HASH>..<HASH> 100644 --- a/plugins/src/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java +++ b/plugins/src/org/stripesstuff/plugin/waitpage/WaitPageIn...
Contexts in wait page interceptor are in an instance variable to prevent memory leaks.
StripesFramework_stripes-stuff
train
java
f836749224ccd0436207eb4c013510d32f84f0df
diff --git a/porespy/filters/__gravity_mio__.py b/porespy/filters/__gravity_mio__.py index <HASH>..<HASH> 100644 --- a/porespy/filters/__gravity_mio__.py +++ b/porespy/filters/__gravity_mio__.py @@ -112,8 +112,6 @@ def gravity_mio(im, inlets, sigma=0.072, rho=1000, g=9.81, voxel_size=1): pc = 2*sigma/(dt*vx_res) ...
removing mio line from func
PMEAL_porespy
train
py
ca6ea8ffcfc6e62238c410f94799de52ee221046
diff --git a/go/vt/vttablet/tabletmanager/binlog_players.go b/go/vt/vttablet/tabletmanager/binlog_players.go index <HASH>..<HASH> 100644 --- a/go/vt/vttablet/tabletmanager/binlog_players.go +++ b/go/vt/vttablet/tabletmanager/binlog_players.go @@ -314,7 +314,7 @@ func (bpc *BinlogPlayerController) Iteration() (err error...
vttablet: Return errors instead of crashing the binary.
vitessio_vitess
train
go
2a07f5f93e750c480437e16964219b09041b684f
diff --git a/src/GraphQL/Operations/ReadVersions.php b/src/GraphQL/Operations/ReadVersions.php index <HASH>..<HASH> 100644 --- a/src/GraphQL/Operations/ReadVersions.php +++ b/src/GraphQL/Operations/ReadVersions.php @@ -53,6 +53,10 @@ class ReadVersions extends ListQueryScaffolder implements OperationResolver }...
Make ReadVersions::resolve() list extensible
silverstripe_silverstripe-versioned
train
php
04f5c75239cba156db70523bcd90657e5c7b5ddb
diff --git a/pkg/namesgenerator/names-generator.go b/pkg/namesgenerator/names-generator.go index <HASH>..<HASH> 100644 --- a/pkg/namesgenerator/names-generator.go +++ b/pkg/namesgenerator/names-generator.go @@ -56,7 +56,7 @@ func GenerateRandomName(checker NameChecker) (string, error) { retry := 5 rand.Seed(time.No...
Steve Wozniak is not boring. Docker-DCO-<I>-
moby_moby
train
go
cc2a262103b18723868c8f3c8feb6086ae3fcf64
diff --git a/lib/codelog/command/setup.rb b/lib/codelog/command/setup.rb index <HASH>..<HASH> 100644 --- a/lib/codelog/command/setup.rb +++ b/lib/codelog/command/setup.rb @@ -18,6 +18,7 @@ module Codelog system! 'mkdir changelogs/unreleased' system! 'mkdir changelogs/releases' system! '...
Generating .gitkeep file on setup command
codus_codelog
train
rb,rb,rb
03e8ff8a34a4e71842cd007d39b78edc6de57ec0
diff --git a/gtkmvco/gtkmvc/controller.py b/gtkmvco/gtkmvc/controller.py index <HASH>..<HASH> 100644 --- a/gtkmvco/gtkmvc/controller.py +++ b/gtkmvco/gtkmvc/controller.py @@ -347,10 +347,10 @@ class Controller (Observer): # matches all properties not previoulsy adapter by the user: for prop_na...
Fixed python3 compatibility problems
roboogle_gtkmvc3
train
py
c276af8a9b403caef861bc5fa13eb06c5c387e7e
diff --git a/src/Illuminate/Auth/Access/Gate.php b/src/Illuminate/Auth/Access/Gate.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Auth/Access/Gate.php +++ b/src/Illuminate/Auth/Access/Gate.php @@ -532,4 +532,14 @@ class Gate implements GateContract { return $this->abilities; } + + /** + ...
[<I>] Add policies method to Gate (#<I>)
laravel_framework
train
php
b0505ff0934ade9af34f6ab39f4a97eb51b39c87
diff --git a/hbmqtt/adapters.py b/hbmqtt/adapters.py index <HASH>..<HASH> 100644 --- a/hbmqtt/adapters.py +++ b/hbmqtt/adapters.py @@ -121,8 +121,7 @@ class WebSocketsWriter(WriterAdapter): self._stream = io.BytesIO(b'') def get_peer_info(self): - extra_info = self._protocol.writer.get_extra_info...
Getting peer address with self._protocol.remote_address in WebSocketsWriter.get_peer_info
beerfactory_hbmqtt
train
py
1f49a8a9934549da737cc30a2aeaf1319e88dfbd
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( version=__version__, packages=find_packages(), python_requires='>=3.6', - install_requires=['h5py', 'numpy', 'scipy', 'setuptools'], + install_requires=['h5py', 'numpy', 'scipy', 'setuptools', 'pand...
FIXED loompy started to use pandas without requiring it explicitly this was breaking velocyto
linnarsson-lab_loompy
train
py
6ea761527c3dc6b3b0e60871820e16e50226df04
diff --git a/config.go b/config.go index <HASH>..<HASH> 100644 --- a/config.go +++ b/config.go @@ -474,7 +474,7 @@ func (c *Config) Validate() error { } } else if c.Net.SASL.Mechanism == SASLTypeOAuth { if c.Net.SASL.TokenProvider == nil { - return ConfigurationError("A AccessTokenProvider instance must b...
Implement SASL/OAUTHBEARER support Fix typo
Shopify_sarama
train
go
f21dc423584e3a25bd62bdcb93056435d2fc6b4c
diff --git a/src/Symfony/Bundle/DoctrineBundle/Registry.php b/src/Symfony/Bundle/DoctrineBundle/Registry.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Registry.php +++ b/src/Symfony/Bundle/DoctrineBundle/Registry.php @@ -16,6 +16,7 @@ use Symfony\Bridge\Doctrine\RegistryInterface; use Doctrin...
[DoctrineBundle] Fixed the Registry::getEntityManagerForObject method
symfony_symfony
train
php
c0d7b330d0e20911a82d9da30244f360830e91d7
diff --git a/beakerx/setup.py b/beakerx/setup.py index <HASH>..<HASH> 100644 --- a/beakerx/setup.py +++ b/beakerx/setup.py @@ -68,12 +68,11 @@ setup_args = dict( 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Topic :: Multimedia :: Graphics', - 'Programmin...
#<I> removed python 2 and added python <I> to setup.py (#<I>)
twosigma_beakerx
train
py
7992bc0fa2101ebb9216c49bc332cc655ab5320e
diff --git a/Access/Gate.php b/Access/Gate.php index <HASH>..<HASH> 100644 --- a/Access/Gate.php +++ b/Access/Gate.php @@ -275,7 +275,7 @@ class Gate implements GateContract } } - if (! method_exists($instance, $ability)) { + if (! is_callable([$instance, $ability])...
Use is_callable() in Gate::resolvePolicyCallback() The `method_exists()` function only checks for hard coded methods on objects. However using the `is_callable()` function will consider methods added to policies using `__call()`.
illuminate_auth
train
php
c9b7d0a83991f6b41166931285d6315c119eccd9
diff --git a/packages/tiptap/src/Plugins/MenuBubble.js b/packages/tiptap/src/Plugins/MenuBubble.js index <HASH>..<HASH> 100644 --- a/packages/tiptap/src/Plugins/MenuBubble.js +++ b/packages/tiptap/src/Plugins/MenuBubble.js @@ -66,6 +66,7 @@ class Menu { this.isActive = false this.left = 0 this.bottom = 0...
Allow for MenuBubbles appearing below the selection
scrumpy_tiptap
train
js
b4f48795557baebb07390dfea9879559485d3619
diff --git a/datajoint/erd.py b/datajoint/erd.py index <HASH>..<HASH> 100644 --- a/datajoint/erd.py +++ b/datajoint/erd.py @@ -272,7 +272,7 @@ else: '-'*30 if q.startswith('---') else q.replace('->', '&#8594;') if '->' in q else q.split(':')[0] for q in description if n...
done nx.drawing.nx_pydot.to_pydot(graph) appears to casting (at least bool) attributes to str. see line #<I> and #<I>
datajoint_datajoint-python
train
py
7e09b7241e374bf60b36cfab9c7ed5261a80a267
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ setup( "cryptography>=3.3.2", "deprecation>=2.1.0, <2.2.0", "flask>=1.1.0, <2.0.0", - "flask-appbuilder>=3.3.0, <4.0.0", + "flask-appbuilder>=3.3.2, <4.0.0", "fl...
chore: Bump FAB to <I> (#<I>)
apache_incubator-superset
train
py
e723a0fcf2cb7facd20619f78ac234f943fea2b5
diff --git a/climlab/radiation/radiation.py b/climlab/radiation/radiation.py index <HASH>..<HASH> 100644 --- a/climlab/radiation/radiation.py +++ b/climlab/radiation/radiation.py @@ -13,6 +13,18 @@ State: - Ts (surface radiative temperature) - Tatm (air temperature) +Input arguments (both LW and SW): + + ...
Start to elaborate documentation of radiation inputs. Needs work.
brian-rose_climlab
train
py
7e43cbb07c29adb365a3919ebfe27329e1c18bbf
diff --git a/tests/unit/states/test_file.py b/tests/unit/states/test_file.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_file.py +++ b/tests/unit/states/test_file.py @@ -1381,14 +1381,18 @@ class TestFileState(TestCase, LoaderModuleMockMixin): with patch.object(os.path, 'exists', mock_f): ...
Update file.touch unit tests to reflect addition of changes in test mode
saltstack_salt
train
py
0968b4721c720ad4cbadb905b460c1941e7e1fd8
diff --git a/locksmith/mongoauth/management/commands/apireport.py b/locksmith/mongoauth/management/commands/apireport.py index <HASH>..<HASH> 100644 --- a/locksmith/mongoauth/management/commands/apireport.py +++ b/locksmith/mongoauth/management/commands/apireport.py @@ -34,4 +34,4 @@ class Command(BaseCommand): ...
split off decimal portion of counts in apireport
sunlightlabs_django-locksmith
train
py
438db81d9a062d6dfe56a479c4cbeab6ccd6858e
diff --git a/cmd/minikube/cmd/root.go b/cmd/minikube/cmd/root.go index <HASH>..<HASH> 100644 --- a/cmd/minikube/cmd/root.go +++ b/cmd/minikube/cmd/root.go @@ -78,6 +78,17 @@ var RootCmd = &cobra.Command{ } } + // Log level 3 or greater enables libmachine logs + if !glog.V(3) { + log.SetOutWriter(ioutil.Dis...
Set log levels in command prerun If this is called in init, glog and viper haven't been properly set up yet, so it does not trigger the logging output.
kubernetes_minikube
train
go
26471cc848eebf6c93660dc2acf8fda2f2b77895
diff --git a/src/core/Motor.js b/src/core/Motor.js index <HASH>..<HASH> 100644 --- a/src/core/Motor.js +++ b/src/core/Motor.js @@ -1,6 +1,6 @@ import documentReady from 'awaitbox/dom/documentReady' import Transformable from './Transformable' -import getWebGlRenderer from './WebGlRenderer' +import getWebGlRenderer fro...
Fix import names! This was working in macOS because it reads filenames case insensitive, but it started failing on me when deving in Linux. Not matching the case of a filename will accidentally work in some OSes and fail in others!
trusktr_infamous
train
js,js
0428193098d9dcf6e374bbe424c81e362d48067a
diff --git a/ding0/examples/example_single_grid_district.py b/ding0/examples/example_single_grid_district.py index <HASH>..<HASH> 100644 --- a/ding0/examples/example_single_grid_district.py +++ b/ding0/examples/example_single_grid_district.py @@ -38,7 +38,8 @@ conn = db.connection(section='oedb') nd = NetworkDing0(nam...
adjust MVGD id to get same MVGD as before (old id=<I>)
openego_ding0
train
py
d908b64064297d75c3a6453176a6e19b422faca4
diff --git a/MAVProxy/modules/mavproxy_tracker.py b/MAVProxy/modules/mavproxy_tracker.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_tracker.py +++ b/MAVProxy/modules/mavproxy_tracker.py @@ -168,6 +168,10 @@ class TrackerModule(mp_module.MPModule): if self.tracker_settings.port == None: ...
tracker: close old connection before starting a new one
ArduPilot_MAVProxy
train
py
c3b98df1ab77b148b9111ef1c3d13c32321b6d55
diff --git a/tests/WidgetTest/CallTest.php b/tests/WidgetTest/CallTest.php index <HASH>..<HASH> 100644 --- a/tests/WidgetTest/CallTest.php +++ b/tests/WidgetTest/CallTest.php @@ -153,10 +153,22 @@ class CallTest extends TestCase public function testThrowException() { - $this->setExpectedException('\E...
added error test for call service when header is false
twinh_wei
train
php
446be03d74cd2667ea83b161f3f06111930b815d
diff --git a/runcommands/runner.py b/runcommands/runner.py index <HASH>..<HASH> 100644 --- a/runcommands/runner.py +++ b/runcommands/runner.py @@ -46,7 +46,7 @@ def run(args, print_and_exit = any((list_commands, info, not argv)) if print_and_exit or debug: - print('RunCommands version:', __version__)...
Make a slight change to info output
wylee_runcommands
train
py
a32b130f10198dd27e1389943c904272802c63a0
diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -63,12 +63,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface...
bumped Symfony version to <I>
symfony_symfony
train
php
0c659eb1b31dbae2d104353acc3c6e721c318d0c
diff --git a/packages/widget-chat/webpack.config.js b/packages/widget-chat/webpack.config.js index <HASH>..<HASH> 100644 --- a/packages/widget-chat/webpack.config.js +++ b/packages/widget-chat/webpack.config.js @@ -132,6 +132,10 @@ module.exports = { include: [/node_modules/], loaders: ['style-loader'...
fix(widget-chat): webpack configurations for plugin-conversation changes
webex_spark-js-sdk
train
js
127a960a548e64734b33b18c9368a10e15c06bff
diff --git a/nomad/leader.go b/nomad/leader.go index <HASH>..<HASH> 100644 --- a/nomad/leader.go +++ b/nomad/leader.go @@ -255,8 +255,9 @@ func (s *Server) establishLeadership(stopCh chan struct{}) error { // Enable the periodic dispatcher, since we are now the leader. s.periodicDispatcher.SetEnabled(true) - // A...
clarify rpc consistency readiness comment
hashicorp_nomad
train
go
0e533698bcb308ebf3bdfc24a25b22140e0221a5
diff --git a/lib/minicron/hub/controllers/api/jobs.rb b/lib/minicron/hub/controllers/api/jobs.rb index <HASH>..<HASH> 100644 --- a/lib/minicron/hub/controllers/api/jobs.rb +++ b/lib/minicron/hub/controllers/api/jobs.rb @@ -29,9 +29,13 @@ class Minicron::Hub::App # Create it if it didn't exist! if !j...
Default job name to name of command
jamesrwhite_minicron
train
rb
856f28f92d8ca0ea90346853c2acd197f5d5a18e
diff --git a/hvac/api/auth_methods/userpass.py b/hvac/api/auth_methods/userpass.py index <HASH>..<HASH> 100644 --- a/hvac/api/auth_methods/userpass.py +++ b/hvac/api/auth_methods/userpass.py @@ -13,7 +13,7 @@ class Userpass(VaultApiBase): """ def create_or_update_user( - self, username, password=None...
Lazily accept kwargs on create user method
hvac_hvac
train
py
a874b5107a98caf5b7b1204afc5ffffd35f77f5e
diff --git a/addon/components/data-paginator.js b/addon/components/data-paginator.js index <HASH>..<HASH> 100644 --- a/addon/components/data-paginator.js +++ b/addon/components/data-paginator.js @@ -28,7 +28,11 @@ export default Component.extend({ let start= currentPage * pageSize; let end = (currentPage +1...
rollback to page one if paginated data is empty
tubitak-bilgem-yte_ember-contextual-table
train
js
d1cd51bbbf43e27aca78f294e8a29a127db1da8b
diff --git a/lib/aws-sdk-core.rb b/lib/aws-sdk-core.rb index <HASH>..<HASH> 100644 --- a/lib/aws-sdk-core.rb +++ b/lib/aws-sdk-core.rb @@ -13,6 +13,7 @@ require 'seahorse' +# @api private module Seahorse::Model::Shapes class FlatMapShape < MapShape; end class FlatListShape < ListShape; end
Added @api private tag to some seahorse shapes.
aws_aws-sdk-ruby
train
rb
9e17acfda5fae36afa34a0fba0631a2f6e5e0826
diff --git a/app/models/doorkeeper/application.rb b/app/models/doorkeeper/application.rb index <HASH>..<HASH> 100644 --- a/app/models/doorkeeper/application.rb +++ b/app/models/doorkeeper/application.rb @@ -15,6 +15,8 @@ module Doorkeeper before_validation :generate_uid, :generate_secret, :on => :create + a...
Should fail to mass assign new application and work when config.active_record.whitelist_attributes = true
doorkeeper-gem_doorkeeper
train
rb,rb
f7ccc71594b1052e3425dff178970bba8653dfd0
diff --git a/spec/acceptance/basic_behavior_spec.rb b/spec/acceptance/basic_behavior_spec.rb index <HASH>..<HASH> 100644 --- a/spec/acceptance/basic_behavior_spec.rb +++ b/spec/acceptance/basic_behavior_spec.rb @@ -1,11 +1,11 @@ require_relative '../spec_helper' describe 'basic behavior with a simple JSON document'...
Changed acceptance spec to be more real life.
ryanoglesby08_lazy-doc
train
rb
5709a53781d7d69b4ed7e26ff1e276a833ac3a3c
diff --git a/__tests__/YAML-1.2.spec.js b/__tests__/YAML-1.2.spec.js index <HASH>..<HASH> 100644 --- a/__tests__/YAML-1.2.spec.js +++ b/__tests__/YAML-1.2.spec.js @@ -1770,7 +1770,6 @@ matches %: 20`, const skipStringify = [ 'Example 6.6. Line Folding', 'Example 8.1. Block Scalar Header', - 'Example 8.3. Invali...
Don't expect error results to match expected when stringified (Example <I>)
eemeli_yaml
train
js
85c79eef6058b55851c29946dbfde059c154a470
diff --git a/billboard.py b/billboard.py index <HASH>..<HASH> 100755 --- a/billboard.py +++ b/billboard.py @@ -1,9 +1,11 @@ #!/usr/bin/env python -import json -import requests + import datetime +import json +import sys from bs4 import BeautifulSoup +import requests """billboard.py: Unofficial Python API for acc...
Fix Unicode issue (Python 2 only) We have to watch out for entries with non-ASCII characters in the title/artist fields.
guoguo12_billboard-charts
train
py
1a7e431c20b6727afae9225e203ae28de97db0c4
diff --git a/lib/puppet/settings.rb b/lib/puppet/settings.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/settings.rb +++ b/lib/puppet/settings.rb @@ -498,20 +498,6 @@ class Puppet::Settings mode end - # Return all of the settings associated with a given section. - def params(section = nil) - if section ...
(PUP-<I>) Remove Settings.params(section=nil) method This method was only used to assert that a newly created Settings object had no parameters. The test is now modified to obtain this information through other means.
puppetlabs_puppet
train
rb,rb
8dfa01572d08029d002623ab7440615c29b603c1
diff --git a/billy/web/public/views/favorites.py b/billy/web/public/views/favorites.py index <HASH>..<HASH> 100644 --- a/billy/web/public/views/favorites.py +++ b/billy/web/public/views/favorites.py @@ -47,7 +47,9 @@ class Favorites(dict): return [obj['obj'] for obj in self.get('legislator', [])] def co...
Throw a warning is a user's favorited committee has been deleted.
openstates_billy
train
py
795f0140b6a896922e97389aa3ec11d017ced467
diff --git a/lib/unexpected.js b/lib/unexpected.js index <HASH>..<HASH> 100644 --- a/lib/unexpected.js +++ b/lib/unexpected.js @@ -354,10 +354,18 @@ var root = this; this.assert(this.obj === value); }); + expect.addAssertion('[not] to be true', function () { + this.assert(this.obj === true); +...
Implemented 'to be true' and 'to be false' shorthands.
unexpectedjs_unexpected
train
js,js
9e0374d5e6b2193f710dd74eca164c854040e483
diff --git a/lib/bbcloud/version.rb b/lib/bbcloud/version.rb index <HASH>..<HASH> 100644 --- a/lib/bbcloud/version.rb +++ b/lib/bbcloud/version.rb @@ -1,3 +1,3 @@ module Brightbox - VERSION = "0.10.1" + VERSION = "0.11.0" end
Bumped version to <I>
brightbox_brightbox-cli
train
rb
98487a0cde158c6d055305fda8a0dd84c51422cc
diff --git a/pkg/util/mount/mount_windows.go b/pkg/util/mount/mount_windows.go index <HASH>..<HASH> 100644 --- a/pkg/util/mount/mount_windows.go +++ b/pkg/util/mount/mount_windows.go @@ -74,7 +74,11 @@ func (mounter *Mounter) Mount(source string, target string, fstype string, optio return nil } - // currently...
only allow cifs mount on windows node
kubernetes_kubernetes
train
go
b0a3ba3210affbef135b4460084ad22035160a66
diff --git a/src/color_value.js b/src/color_value.js index <HASH>..<HASH> 100644 --- a/src/color_value.js +++ b/src/color_value.js @@ -15,7 +15,7 @@ class ColorValue { } var space = value.match(/^(\w+)\((.*)\)$/); if (space) { - return new ColorValue(space[1], space[2]); + return new ColorValue...
when will I learn not to patch files in lib
opencolor-tools_opencolor-js
train
js
50cf48495836d0ee6fad29bc9d7e7258e7692304
diff --git a/test/tc_aggs.rb b/test/tc_aggs.rb index <HASH>..<HASH> 100644 --- a/test/tc_aggs.rb +++ b/test/tc_aggs.rb @@ -73,7 +73,8 @@ class TestAggs < Test::Unit::TestCase assert_nothing_raised( RuntimeError) { program.tick } program.minmaxsumcntavg.each do |t| - print "REC: #{t.inspect}\n" + #...
replace printf with failing test case: nil result of aggregate function
bloom-lang_bud
train
rb
992994fc14db43ab94dcc8ea443eae85835df2cf
diff --git a/src/org/jgroups/protocols/UDP.java b/src/org/jgroups/protocols/UDP.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/UDP.java +++ b/src/org/jgroups/protocols/UDP.java @@ -43,7 +43,7 @@ import java.util.Properties ; * </ul> * * @author Bela Ban - * @version $Id: UDP.java,v 1.205 2009/0...
reverted change to bind multicast sockets to the mcast address on Mac OSX, this doesn't work (JGRP-<I>)
belaban_JGroups
train
java
bd8424e6d57691b2ed68aa2949effe4089e1baff
diff --git a/table/table_manager.go b/table/table_manager.go index <HASH>..<HASH> 100644 --- a/table/table_manager.go +++ b/table/table_manager.go @@ -350,6 +350,20 @@ func (manager *TableManager) GetPathList(id string, rfList []bgp.RouteFamily) [] return paths } +func (manager *TableManager) GetPathListWithNextho...
table/table_manager: Enable to select paths with nexthop
osrg_gobgp
train
go
7cf7979e06f0774f46d133e070887cb29957c9d5
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -4,10 +4,11 @@ var keys = Object.keys || require('object-keys'); var assignShim = function assign(target, source) { - return keys(source).reduce(function (target, key) { - target[key] = source[key]; - return target; - },...
Use a for loop, because ES3 browsers don't have "reduce"
ljharb_object.assign
train
js
37e5b468b9aae22c13ce12693b1e76dfc271e5cd
diff --git a/lib/image_processing/vips.rb b/lib/image_processing/vips.rb index <HASH>..<HASH> 100644 --- a/lib/image_processing/vips.rb +++ b/lib/image_processing/vips.rb @@ -65,9 +65,8 @@ module ImageProcessing image end - def save_image(image, destination_path, **options) - options[:Q] =...
[vips] Rephrase making :quality alias for :Q
janko_image_processing
train
rb
28c818a75783f92d2b1a19de55553008a18243be
diff --git a/src/Entities/File.php b/src/Entities/File.php index <HASH>..<HASH> 100644 --- a/src/Entities/File.php +++ b/src/Entities/File.php @@ -45,13 +45,18 @@ class File { $host = parse_url($this->file, PHP_URL_HOST); - // If it has not an url host and it is a file_id - if ($host === n...
Improve file sending Check if a file given is a file_id by using a regex expression. Add test sending a document using file_id.
DanySpin97_PhpBotFramework
train
php,php
c2371a4c3de216e5cccd81fe072a68a131358b5c
diff --git a/src/DB_Command.php b/src/DB_Command.php index <HASH>..<HASH> 100644 --- a/src/DB_Command.php +++ b/src/DB_Command.php @@ -590,8 +590,8 @@ class DB_Command extends WP_CLI_Command { * - b (bytes) * - kb (kilobytes) * - mb (megabytes) - * - gb (gigabyte) - * - tb (terabyte) + * - gb (gigabyt...
Include s at the end of terabytes and gigabytes Match the existing to use terabytes and gigabytes
wp-cli_db-command
train
php
5dac7b07765abe467d180502eca67c1b09474717
diff --git a/mirage/db/migrate.py b/mirage/db/migrate.py index <HASH>..<HASH> 100644 --- a/mirage/db/migrate.py +++ b/mirage/db/migrate.py @@ -18,35 +18,18 @@ Copyright 2017-2018 Shota Shimazu. import os -from mirage.flow import Flow, Workflow -from mirage.command import log -from mirage.command import command - +...
fix migrator to be able to do it in any dir
shotastage_mirage-django-lts
train
py
2c0932bcbc55d64d1d188021ec1a3342bfacb5e4
diff --git a/graylog2-server/src/main/java/org/graylog2/migrations/V202201281638_GeoIpResolverConfigMigration.java b/graylog2-server/src/main/java/org/graylog2/migrations/V202201281638_GeoIpResolverConfigMigration.java index <HASH>..<HASH> 100644 --- a/graylog2-server/src/main/java/org/graylog2/migrations/V202201281638...
Updated V<I>_GeoIpResolverConfigMigration migration completed log level to DEBUG
Graylog2_graylog2-server
train
java
085e0218c20cf126ef4fe535941f990c3af85eda
diff --git a/prawcore/const.py b/prawcore/const.py index <HASH>..<HASH> 100644 --- a/prawcore/const.py +++ b/prawcore/const.py @@ -1,6 +1,6 @@ """Constants for the prawcore package.""" -__version__ = '0.0.8' +__version__ = '0.0.9' ACCESS_TOKEN_PATH = '/api/v1/access_token' AUTHORIZATION_PATH = '/api/v1/authorize...
Bump to <I>.
praw-dev_prawcore
train
py
4c0ce35b698ba04f9a2c1ca74d74fe06580cb421
diff --git a/cmd/fluxd/main.go b/cmd/fluxd/main.go index <HASH>..<HASH> 100644 --- a/cmd/fluxd/main.go +++ b/cmd/fluxd/main.go @@ -8,6 +8,7 @@ import ( "os" "os/exec" "os/signal" + "runtime" "strconv" "strings" "sync" @@ -194,8 +195,11 @@ func main() { // Silence access errors logged internally by client-...
Improve internal kubernetes error logging 1. Remove duplicated timestamp keyval 2. Print full path to kubernetes file emitting the error
weaveworks_flux
train
go
bddd580992293e6ddbfc8beb7278f9b5d736f500
diff --git a/vm/src/lib.js b/vm/src/lib.js index <HASH>..<HASH> 100644 --- a/vm/src/lib.js +++ b/vm/src/lib.js @@ -645,14 +645,16 @@ var luajs = luajs || {}; len: function (s) { - return s.length; + if (typeof s != 'string' && typeof s != 'number') throw new luajs.Error ("bad argument #1 to 'len' (string...
Error checking added to string.len and string.lower
gamesys_moonshine
train
js
465cc1c208babbf01f1b76e9eaaadb3827745a67
diff --git a/bokeh/server/templates/embed.js b/bokeh/server/templates/embed.js index <HASH>..<HASH> 100644 --- a/bokeh/server/templates/embed.js +++ b/bokeh/server/templates/embed.js @@ -13,9 +13,9 @@ console.log("embed.js"); if(typeof Bokeh == "object"){ // application.js is already loaded conso...
embedding is now delayed by <I>ms, works in the IPython notebook
bokeh_bokeh
train
js
3d8ee9bcd1ef56c9ec02843df2696b9a135de784
diff --git a/lib/ddr/models/solr_document.rb b/lib/ddr/models/solr_document.rb index <HASH>..<HASH> 100644 --- a/lib/ddr/models/solr_document.rb +++ b/lib/ddr/models/solr_document.rb @@ -18,6 +18,10 @@ module Ddr id.sub(/:/, "-") end + def local_id + get(Ddr::IndexFields::LOCAL_ID) + ...
Adds `local_id` instance method to SolrDocument Closes #<I>
duke-libraries_ddr-models
train
rb,rb
eff190dbed6d409379b949b91104c5436e36d26c
diff --git a/aeron-client/src/main/java/io/aeron/Aeron.java b/aeron-client/src/main/java/io/aeron/Aeron.java index <HASH>..<HASH> 100644 --- a/aeron-client/src/main/java/io/aeron/Aeron.java +++ b/aeron-client/src/main/java/io/aeron/Aeron.java @@ -195,10 +195,11 @@ public final class Aeron implements AutoCloseable ...
[Java] Mistakenly closed the context in the finally block, moved it into the try block instead.
real-logic_aeron
train
java
da17512fb825289f10c4d877d54358684d91f4e9
diff --git a/modelx/core/model.py b/modelx/core/model.py index <HASH>..<HASH> 100644 --- a/modelx/core/model.py +++ b/modelx/core/model.py @@ -895,12 +895,17 @@ class SpaceManager: if parent_node in graph: parent = graph.to_space(parent_node) - parent.named_spaces.del_item(name) + ...
FAC: Delay deleting space in _remove_hook
fumitoh_modelx
train
py
9ea088eb4a6e2a43bbad1b46405dff206a53564d
diff --git a/ast/term.go b/ast/term.go index <HASH>..<HASH> 100644 --- a/ast/term.go +++ b/ast/term.go @@ -71,6 +71,32 @@ func (loc *Location) String() string { return fmt.Sprintf("%v:%v", loc.Row, loc.Col) } +// Compare returns -1, 0, or 1 to indicate if this loc is less than, equal to, +// or greater than the ot...
Add comparison function for ast.Location
open-policy-agent_opa
train
go
5f6f11d092ab4f54f6140789a67c04f6a8deda2b
diff --git a/alpha_vantage/alphavantage.py b/alpha_vantage/alphavantage.py index <HASH>..<HASH> 100644 --- a/alpha_vantage/alphavantage.py +++ b/alpha_vantage/alphavantage.py @@ -2,6 +2,7 @@ import requests import os from functools import wraps import inspect +import sys # Pandas became an optional dependency, but ...
Added compatibility with python2 using inspect module
RomelTorres_alpha_vantage
train
py
a68e78af4e9e615a6b3a1f763045b786fa3cd190
diff --git a/lib/jekyll-plantuml.rb b/lib/jekyll-plantuml.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll-plantuml.rb +++ b/lib/jekyll-plantuml.rb @@ -52,8 +52,7 @@ module Jekyll puts "File #{svg} created (#{File.size(svg)} bytes)" end end - "<p><object data='#{site.baseurl}/uml/#{name}....
Update jekyll-plantuml.rb After testing the #{@html} should come at the end
yegor256_jekyll-plantuml
train
rb
420650796f9e3ef8058bddb49210482e8d2c88e3
diff --git a/tests/integration/states/test_handle_error.py b/tests/integration/states/test_handle_error.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/test_handle_error.py +++ b/tests/integration/states/test_handle_error.py @@ -1,12 +1,7 @@ -# -*- coding: utf-8 -*- """ tests for host state """ -# Im...
Drop Py2 and six on tests/integration/states/test_handle_error.py
saltstack_salt
train
py
fe93131e0a925a116ad9296296bb40c3373d69eb
diff --git a/request-example.go b/request-example.go index <HASH>..<HASH> 100644 --- a/request-example.go +++ b/request-example.go @@ -83,6 +83,7 @@ func (fs *root) Filecmd(r *Request) error { return &os.LinkError{Op: "rename", Old: r.Filepath, New: r.Target, Err: fmt.Errorf("dest file exists")} } + file.n...
fix example request filesystem's file renaming also added a test for the issue Fixes #<I>
pkg_sftp
train
go,go
20f101ff0b031bfb26c31e9f1f21c13dafe67859
diff --git a/src/conversions.php b/src/conversions.php index <HASH>..<HASH> 100644 --- a/src/conversions.php +++ b/src/conversions.php @@ -32,7 +32,7 @@ function toBool ($val) $it->rewind (); return $it->valid (); } - return is_string ($val) ? $val == 'true' || $val == '1' || $val == 'yes' || $val == 'on'...
FIX: compatibility with PHP <I>
php-kit_tools
train
php
ba4f5d12a5aca953a31e2cefd067bf4dfee5b708
diff --git a/misc/memory_stats.rb b/misc/memory_stats.rb index <HASH>..<HASH> 100755 --- a/misc/memory_stats.rb +++ b/misc/memory_stats.rb @@ -30,12 +30,25 @@ class MemoryStats end def start + some_private_dirty_rss_cannot_be_determined = false processes = list_processes(:exe => PlatformInfo::HTTPD) + some_...
Memory statistics tool: warn if it's not running as root.
phusion_passenger
train
rb
779b7bb1284939991bdcac367edf217b67e53f41
diff --git a/lib/beaker-pe/version.rb b/lib/beaker-pe/version.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/version.rb +++ b/lib/beaker-pe/version.rb @@ -3,7 +3,7 @@ module Beaker module PE module Version - STRING = '1.37.0' + STRING = '1.38.0' end end
(GEM) update beaker-pe version to <I>
puppetlabs_beaker-pe
train
rb
c192e54f6d358dcfbba1e8f66964478daa7c837a
diff --git a/machina/test/factories/forum.py b/machina/test/factories/forum.py index <HASH>..<HASH> 100644 --- a/machina/test/factories/forum.py +++ b/machina/test/factories/forum.py @@ -3,6 +3,7 @@ # Standard library imports # Third party imports from django.db.models import get_model +from django.utils.text import...
Forum factory updated to properly handle forum slugs
ellmetha_django-machina
train
py
c3ddd882df508405e2f068e42a1241e484d857de
diff --git a/pkg/kubelet/server/stats/summary.go b/pkg/kubelet/server/stats/summary.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/server/stats/summary.go +++ b/pkg/kubelet/server/stats/summary.go @@ -134,7 +134,7 @@ func (sb *summaryBuilder) build() (*stats.Summary, error) { CapacityBytes: &sb.imageFsInfo.Capa...
correct imagefs inodes value in summary stats
kubernetes_kubernetes
train
go
c9f0984addd8b540e806b3097eb5de934ee05744
diff --git a/perceval/backends/core/slack.py b/perceval/backends/core/slack.py index <HASH>..<HASH> 100644 --- a/perceval/backends/core/slack.py +++ b/perceval/backends/core/slack.py @@ -57,7 +57,7 @@ class Slack(Backend): :param tag: label used to mark the data :param archive: archive to store/retrieve items...
[slack] Set category when calling fetch and fetch_from_archive This patch adds to the params of the fetch_items method the category. Thus, it allows to handle fetching operations (fetch and fetch_from_archive) with multiple categories
chaoss_grimoirelab-perceval
train
py
d9251e30858f759996e643580ac7a547188da8e4
diff --git a/lib/cisco_node_utils/upgrade.rb b/lib/cisco_node_utils/upgrade.rb index <HASH>..<HASH> 100644 --- a/lib/cisco_node_utils/upgrade.rb +++ b/lib/cisco_node_utils/upgrade.rb @@ -58,7 +58,15 @@ module Cisco if image && uri config_get('upgrade', 'image_version', image: image, uri: uri) els...
Handle version difference for development builds (#<I>) * Handle version difference for development builds * remove unnecessary split()
cisco_cisco-network-node-utils
train
rb
b8f266f9ad9f0db59ebb741b3b5699c33a9903c5
diff --git a/pytest_flask/fixtures.py b/pytest_flask/fixtures.py index <HASH>..<HASH> 100755 --- a/pytest_flask/fixtures.py +++ b/pytest_flask/fixtures.py @@ -104,8 +104,8 @@ def live_server(request, app): # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(('', 0)) - s...
Release the random port before starting the application.
pytest-dev_pytest-flask
train
py
180965f41156960dd3f0faa16a45b02bdbd7d8fa
diff --git a/tests/unit/modules/test_file.py b/tests/unit/modules/test_file.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_file.py +++ b/tests/unit/modules/test_file.py @@ -1359,10 +1359,9 @@ class FilemodLineTests(TestCase, LoaderModuleMockMixin): self.assertFalse( f...
Fix failing test This was relying on a mocked logger and the fact that the log message was being fully constructed with str.format() rather than using string replacement in the logger. Test has been updated to reflect the change to logging behavior.
saltstack_salt
train
py
e687136b3649629196e3e1131b33ab69c96e3c1f
diff --git a/pkg/sorted/kvtest/kvtest.go b/pkg/sorted/kvtest/kvtest.go index <HASH>..<HASH> 100644 --- a/pkg/sorted/kvtest/kvtest.go +++ b/pkg/sorted/kvtest/kvtest.go @@ -62,6 +62,12 @@ func TestSorted(t *testing.T, kv sorted.KeyValue) { testEnumerate(t, kv, "d", "") testEnumerate(t, kv, "d", "e") + // Verify tha...
sorted: more tests Adding this particular case, because I suspect it demonstrates a problem with postgresql. Change-Id: Ia1ffe2f0a<I>dede<I>ed<I>b9f<I>cd<I>adc<I>
perkeep_perkeep
train
go
9c4e89e264711e5d0027f324d665437b11027144
diff --git a/ProgressBarLog.php b/ProgressBarLog.php index <HASH>..<HASH> 100644 --- a/ProgressBarLog.php +++ b/ProgressBarLog.php @@ -96,7 +96,7 @@ class ProgressBarLog public function start() { - $r = new \ReflectionObject($this->progressBar); + $r = new \ReflectionObject($this->getProgres...
Fix uninitialised property access
AydinHassan_progress-bar-log
train
php
0469db7ab79e1b4ccd54b205e6ea15776d94bd75
diff --git a/gdx-ai/src/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibrary.java b/gdx-ai/src/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibrary.java index <HASH>..<HASH> 100644 --- a/gdx-ai/src/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibrary.java +++ b/gdx-ai/src/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibrar...
Added a method "registerArchetypeTree" to the class BehaviorTreeLibrary to have the possibility to add archetype behavior trees programatically instead of loading from files, as suggested in the comments at <URL>
libgdx_gdx-ai
train
java
bd025c294d10541da7de5d727889e368ef33d08f
diff --git a/leveldb/block/writer.go b/leveldb/block/writer.go index <HASH>..<HASH> 100644 --- a/leveldb/block/writer.go +++ b/leveldb/block/writer.go @@ -79,6 +79,7 @@ func (b *Writer) Finish() []byte { b.closed = true + // C++ leveldb need atleast 1 restart entry if b.restarts == nil { b.restarts = make([]...
block: fix invalid calculated size if block is empty
syndtr_goleveldb
train
go
b310fee7104f675f201bb7b1a7df71142697c757
diff --git a/lib/db_subsetter/importer.rb b/lib/db_subsetter/importer.rb index <HASH>..<HASH> 100644 --- a/lib/db_subsetter/importer.rb +++ b/lib/db_subsetter/importer.rb @@ -20,11 +20,9 @@ module DbSubsetter def import @dialect.import do - #ActiveRecord::Base.connection.execute("SET FOREIGN_KEY_CH...
some db drivers don't support truncate
lostapathy_db_subsetter
train
rb
e792482c74372af22431dbc5916fdf1bccd9cd57
diff --git a/lib/photoshop.js b/lib/photoshop.js index <HASH>..<HASH> 100644 --- a/lib/photoshop.js +++ b/lib/photoshop.js @@ -119,7 +119,7 @@ ).done( function () { self.emit("connect"); - self.locateApplicationPath(); +// self.loc...
locateApplicationPath is broken now.
adobe-photoshop_generator-core
train
js