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
9d8817f1d794bcc0ef4056e7b628cc6d1bc26251
diff --git a/src/BotApi.php b/src/BotApi.php index <HASH>..<HASH> 100644 --- a/src/BotApi.php +++ b/src/BotApi.php @@ -783,6 +783,26 @@ class BotApi 'user_id' => $userId, ]); } + + /** + * Use this method to unban a previously kicked user in a supergroup. + * The user will not retu...
added unbanChatMember method
TelegramBot_Api
train
php
d9eee0757658d12d954e49711d4c3875b94b97b5
diff --git a/src/sap.m/src/sap/m/Avatar.js b/src/sap.m/src/sap/m/Avatar.js index <HASH>..<HASH> 100644 --- a/src/sap.m/src/sap/m/Avatar.js +++ b/src/sap.m/src/sap/m/Avatar.js @@ -131,9 +131,6 @@ sap.ui.define([ fallbackIcon: {type: "string", group: "Data", defaultValue: null}, /** * Determines the backg...
[INTERNAL] sap.m.Avatar: Control jsdoc improved The text in jsdoc was referring to another system's ability to perform a task which is not actually possible. Change-Id: I8aff3ee2af<I>aec<I>c6e9d5aa<I>f0bb0e4fc<I>
SAP_openui5
train
js
cf8aa0a7b247e094a55c31db5df27d8e66f79a9b
diff --git a/run.go b/run.go index <HASH>..<HASH> 100644 --- a/run.go +++ b/run.go @@ -130,23 +130,9 @@ func (i *imageDumperGame) Layout(outsideWidth, outsideHeight int) (screenWidth, // RunGame starts the main loop and runs the game. // game's Update function is called every tick to update the game logic. -// gam...
ebiten: Fix old and wrong comments
hajimehoshi_ebiten
train
go
a8000629a7595fc60ebbebd43ef299788097a6da
diff --git a/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py b/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py index <HASH>..<HASH> 100644 --- a/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py +++ b/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py @@ -125,8 +125,7 @@ def docker_call(tool, tool_parameters, work_d...
Unless the user script is being run on a CGCloud-launched cluster docker calls must use Sudo.
BD2KGenomics_toil-scripts
train
py
0757d3fcbb84dcd036f758917845cddb4d6ac028
diff --git a/lib/you_shall_not_pass/version.rb b/lib/you_shall_not_pass/version.rb index <HASH>..<HASH> 100644 --- a/lib/you_shall_not_pass/version.rb +++ b/lib/you_shall_not_pass/version.rb @@ -1,3 +1,3 @@ module YouShallNotPass - VERSION = "0.0.3" + VERSION = "0.1.0" end
Releasing version <I>
iachettifederico_you_shall_not_pass
train
rb
c1520de1cd35d98019573e90433c8f0da1e6384d
diff --git a/lib/helpers.js b/lib/helpers.js index <HASH>..<HASH> 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -139,11 +139,15 @@ Helpers.ParseDIDL = function (didl, host, port, trackUri) { } Helpers.ParseDIDLItem = function (item, host, port, trackUri) { + let albumArtURI = item['upnp:albumArtURI'] || null...
Handle when albumArtURI is an Array If the albumArtURI of an item is an Array, the first item is picked
bencevans_node-sonos
train
js
c1c6080b18a6e203233be6241669ac287df8933a
diff --git a/glymur/lib/config.py b/glymur/lib/config.py index <HASH>..<HASH> 100644 --- a/glymur/lib/config.py +++ b/glymur/lib/config.py @@ -145,9 +145,8 @@ def get_configdir(): if 'HOME' in os.environ and os.name != 'nt': # HOME is set by WinPython to something unusual, so we don't - # want th...
Windows if-statement is now a catch-all for config file location. Closes #<I>, again.
quintusdias_glymur
train
py
23ee03840d36e3e117613670aa881dc1c7dfb0db
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphComputerTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphComputerTest.java index <HASH>..<HASH> 100644 --- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphC...
had a commented out assert() when figuring out a bug in Spark. Uncommented. All good.
apache_tinkerpop
train
java
3b27f2f7f3aa736dde3f12a045925d873b31bed7
diff --git a/cr8/run_crate.py b/cr8/run_crate.py index <HASH>..<HASH> 100644 --- a/cr8/run_crate.py +++ b/cr8/run_crate.py @@ -280,7 +280,7 @@ class CrateNode(contextlib.ExitStack): try: wait_until( lambda: show_spinner() and _ensure_running(proc) and self.http_host, - ...
Increase run-crate start-up timeout to <I> seconds Should be enough to start up CrateDB on a raspberry
mfussenegger_cr8
train
py
974629bbcba1cf3d7021ddd1c42162a0e38365e1
diff --git a/libkbfs/reporter_kbpki.go b/libkbfs/reporter_kbpki.go index <HASH>..<HASH> 100644 --- a/libkbfs/reporter_kbpki.go +++ b/libkbfs/reporter_kbpki.go @@ -43,6 +43,7 @@ var noErrorNames = map[string]bool{ "Gemfile": true, // rvm "devfs": true, // lsof? KBFS-823 "_mtn": true, // ...
reporter_kbpki: ignore _MTN (looked up by emacs on Linux) (#<I>)
keybase_client
train
go
63ccb440dfcbf2abc887ce1de97861459ac1a793
diff --git a/upload/install/model/install/install.php b/upload/install/model/install/install.php index <HASH>..<HASH> 100644 --- a/upload/install/model/install/install.php +++ b/upload/install/model/install/install.php @@ -46,7 +46,7 @@ class Install extends \Opencart\System\Engine\Model { } $sql = rtrim($sql...
Update install.php hot fix bug Index column size too large. The maximum column size is <I> bytes (maybe need another better way) <URL>
opencart_opencart
train
php
00e5923908f642cf42d6d73f96edaf58bb13d06e
diff --git a/yt_array.py b/yt_array.py index <HASH>..<HASH> 100644 --- a/yt_array.py +++ b/yt_array.py @@ -595,9 +595,13 @@ class YTArray(np.ndarray): units, and returns it. Optionally, an equivalence can be specified to convert to an - equivalent quantity which is not in the same dimensions...
Make docstrings clearer and more explicit
yt-project_unyt
train
py
d43a3a7146d6686fe60877cb9e825f46e7d572cb
diff --git a/Console/Command/ResqueShell.php b/Console/Command/ResqueShell.php index <HASH>..<HASH> 100755 --- a/Console/Command/ResqueShell.php +++ b/Console/Command/ResqueShell.php @@ -137,7 +137,12 @@ class ResqueShell extends Shell { $path = App::pluginPath('Resque') . 'Vendor' . DS . 'php-resque' . DS; $lo...
Allow overriding the ResqueBootstrap.php file from the app
wa0x6e_Cake-Resque
train
php
aead1460178c87672d9164ea08bbac6ed53f5c5e
diff --git a/lib/oauth.js b/lib/oauth.js index <HASH>..<HASH> 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -159,17 +159,17 @@ module.exports = OAuth = (function() { * Public: get authenticate URL * ---------------------------- * - * params - Object with: - * + token: [Required] String ...
lib/oauth#authenticate just gets `token` as a param
ghostbar_twitter-rest-lite
train
js
746bef21e0f4a8e9cc633b28829c7ec81ca33f3c
diff --git a/Generator/PluginType.php b/Generator/PluginType.php index <HASH>..<HASH> 100644 --- a/Generator/PluginType.php +++ b/Generator/PluginType.php @@ -88,6 +88,16 @@ class PluginType extends BaseGenerator { ]); }, ), + // TODO: Argh, do something about this mess of relative / qua...
Fixed plugin type base class not using the computed property for the class name.
drupal-code-builder_drupal-code-builder
train
php
69a5b2cbbe356876b767993358a1806ac6c5695f
diff --git a/app/src/components/mainWindow/mainWindow.js b/app/src/components/mainWindow/mainWindow.js index <HASH>..<HASH> 100644 --- a/app/src/components/mainWindow/mainWindow.js +++ b/app/src/components/mainWindow/mainWindow.js @@ -199,7 +199,7 @@ function createMainWindow(inpOptions, onAppQuit, setDockBadge) { ...
Fix Gmail complaining window creation was prevented by a popup blocker (PR #<I>) By changing incorrect window `guest` property to `newGuest`. See <URL>` will prevent Electron from > automatically creating a new BrowserWindow. If you call > `event.preventDefault()` and manually create a new BrowserWindow > then yo...
jiahaog_nativefier
train
js
fcfa56ac472b1231c0f0bed107532f05a94ebd82
diff --git a/src/main/java/org/primefaces/component/datatable/DataTableRenderer.java b/src/main/java/org/primefaces/component/datatable/DataTableRenderer.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/component/datatable/DataTableRenderer.java +++ b/src/main/java/org/primefaces/component/datatable/...
fixed NPE from #<I>
primefaces_primefaces
train
java
3b95362d33baf91b456039636ac0552d14b5e88e
diff --git a/src/main/java/org/sikuli/slides/sikuli/RegionSelector.java b/src/main/java/org/sikuli/slides/sikuli/RegionSelector.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sikuli/slides/sikuli/RegionSelector.java +++ b/src/main/java/org/sikuli/slides/sikuli/RegionSelector.java @@ -186,7 +186,7 @@ public cl...
use screen id constant to support external monitor mode
sikuli_sikuli-slides
train
java
0d1969c58676913ffef4bc14bb22770f033c1e34
diff --git a/src/Utils.php b/src/Utils.php index <HASH>..<HASH> 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -48,11 +48,6 @@ abstract class Utils $dom = self::loadXML($xml); $xpath = new DOMXPath($dom); $nodes = $xpath->query(str_repeat('//' . $tagName, 1 + $nestingLevel)); - if (!$nodes) - { - retu...
Utils: removed alternative code path from removeTag()
s9e_TextFormatter
train
php
39bb6b87be8311e8815a13fc46323eead53b7778
diff --git a/lib/travis/services/find_build.rb b/lib/travis/services/find_build.rb index <HASH>..<HASH> 100644 --- a/lib/travis/services/find_build.rb +++ b/lib/travis/services/find_build.rb @@ -47,9 +47,6 @@ module Travis ActiveRecord::Associations::Preloader.new(build, [:matrix, :commit, :request]).run ...
don't blank out the job config in find_build
travis-ci_travis-core
train
rb
bc0c4e59ead7faa27a7c8f7ed55393fd27c339b7
diff --git a/src/system.config.js b/src/system.config.js index <HASH>..<HASH> 100644 --- a/src/system.config.js +++ b/src/system.config.js @@ -38,7 +38,7 @@ var systemConfig = { * http://localhost:9010/ when you're running tests. The window/tab can be left * open and the tests will automatically occur t...
fix(test): run tests with no browser started automatically Implements Solution 2: Remove PhantomJS from system.config.js Closes #<I>
w11k_fabs
train
js
c3c5148aeda1e2bc0b57cadb0560bb9802295a43
diff --git a/src/MadeYourDay/Contao/CustomElements.php b/src/MadeYourDay/Contao/CustomElements.php index <HASH>..<HASH> 100644 --- a/src/MadeYourDay/Contao/CustomElements.php +++ b/src/MadeYourDay/Contao/CustomElements.php @@ -929,6 +929,16 @@ class CustomElements } } + // The getInstance calls are neccessary...
Fixed "Invalid connection resource" exception
madeyourday_contao-rocksolid-custom-elements
train
php
876daf8e930ab0043ddc0e1fe5399360ef9d74d7
diff --git a/db/seeds.rb b/db/seeds.rb index <HASH>..<HASH> 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -70,6 +70,7 @@ Role.allow 'admin_role', [:read, :delete, :sync], "sync_management" Role.allow 'admin_role', [:read], "packages" Role.allow 'admin_role', [:read], "errata" Role.allow 'admin_role', [:create, :dele...
adding missing operations resource_type to seeds
Katello_katello
train
rb
47eb9cff368fb508c9ef51cb6a84b555fc4d8a6f
diff --git a/kafka/kafka.go b/kafka/kafka.go index <HASH>..<HASH> 100644 --- a/kafka/kafka.go +++ b/kafka/kafka.go @@ -1,5 +1,3 @@ -package kafka - /** * Copyright 2016 Confluent Inc. * @@ -251,6 +249,7 @@ package kafka // possible complications with blocking Poll() calls. // // Note: The Confluent Kafka Go cli...
kafka.go: revert partial f9fce7ae to reinstate package docs The "package .." stanza needs to follow the package docs comment, but a previous commit moved the stanza to the top of the file which caused the package docs to be ignored by 'godoc'.
confluentinc_confluent-kafka-go
train
go
a6cb15106e418eac360dd65343302129a9cad477
diff --git a/probe.js b/probe.js index <HASH>..<HASH> 100644 --- a/probe.js +++ b/probe.js @@ -86,7 +86,7 @@ Probe.prototype.error = function errorTrace(event, order, value) { Probe.prototype.make = function make(name) { assert(name, 'new probes need a name'); - + var probe = Probe.New(); probe.module =...
rename / to ROOT module
groundwater_node-lib-trace
train
js,js
60a8d29330fd27d07c15127690a8a3424435a53d
diff --git a/lib/jsi/base.rb b/lib/jsi/base.rb index <HASH>..<HASH> 100644 --- a/lib/jsi/base.rb +++ b/lib/jsi/base.rb @@ -443,11 +443,8 @@ module JSI def jsi_modified_copy(&block) if @jsi_ptr.root? modified_document = @jsi_ptr.modified_document_copy(@jsi_document, &block) - self.class.new(B...
Base#jsi_modified_copy reinstantiates the root with SchemaSet#new_jsi
notEthan_jsi
train
rb
75d1a187bdb1b267859379a8896874119874e47e
diff --git a/script/enable_i2c.js b/script/enable_i2c.js index <HASH>..<HASH> 100755 --- a/script/enable_i2c.js +++ b/script/enable_i2c.js @@ -27,7 +27,16 @@ var fs = require('fs'); var iniBuilder = require('ini-builder'); console.log('Checking if I2C is enabled at boot time'); -var config = iniBuilder.parse(fs.rea...
Run enable_i2c.js where /boot/config.txt does not exist
nebrius_raspi-i2c
train
js
0a5c345889c23b828da2fd4e7fa0463d21b776c6
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -409,6 +409,10 @@ class SSH(object): running.pop(host) if len(rets) >= len(self.targets): break + ...
Fix for high cpu usage by salt-ssh
saltstack_salt
train
py
379d6b20695769517d331e0546ed4f307c59762d
diff --git a/lib/opal/parser/lexer.rb b/lib/opal/parser/lexer.rb index <HASH>..<HASH> 100644 --- a/lib/opal/parser/lexer.rb +++ b/lib/opal/parser/lexer.rb @@ -421,13 +421,13 @@ module Opal end def heredoc_identifier - if @scanner.scan(/(-?)['"]?(\w+)['"]?/) + if scan(/(-?)['"]?(\w+)['"]?/) ...
Always use #scan() and never @scanner directly [lexer]
opal_opal
train
rb
50aecb0c6c22d012d843f807f333fdac7a01f65b
diff --git a/src/HtmlPage.php b/src/HtmlPage.php index <HASH>..<HASH> 100644 --- a/src/HtmlPage.php +++ b/src/HtmlPage.php @@ -217,7 +217,7 @@ class HtmlPage implements Linkable, ContentElementInterface, StatusCodeContainer */ public function getLinks() { - return array_values($this->getStyleLink...
More stable way of merging the 2 kinds of links.
Crell_HtmlModel
train
php
f85c61f63357aebc849d972de8e806d9dc40cc63
diff --git a/src/playbacks/html5_audio/html5_audio.js b/src/playbacks/html5_audio/html5_audio.js index <HASH>..<HASH> 100644 --- a/src/playbacks/html5_audio/html5_audio.js +++ b/src/playbacks/html5_audio/html5_audio.js @@ -77,7 +77,9 @@ class HTML5Audio extends Playback { } play() { - this.el.src = this.opti...
html5 audio: fix seek back on play (closes #<I>)
clappr_clappr
train
js
1d7a1d18832541cd74adcc6072e99a91205c9460
diff --git a/lib/ansiblelint/version.py b/lib/ansiblelint/version.py index <HASH>..<HASH> 100644 --- a/lib/ansiblelint/version.py +++ b/lib/ansiblelint/version.py @@ -1 +1 @@ -__version__ = '3.4.0' +__version__ = '3.4.1'
Update version to <I> Mistagged <I> on an out-of-sync repo
ansible_ansible-lint
train
py
8464e7ab53de5f6449c7fbe616ff4233eb6ae25b
diff --git a/gandi/cli/commands/vm.py b/gandi/cli/commands/vm.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/vm.py +++ b/gandi/cli/commands/vm.py @@ -232,7 +232,7 @@ def create(gandi, datacenter, memory, cores, ip_version, bandwidth, login, pwd = click.prompt('password', hide_input=True, ...
Don't show console password warning when creating a vm if password is provided
Gandi_gandi.cli
train
py
e1269e8ed048e5900c02482ce50f12ead0055c1a
diff --git a/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AADAuthenticationFilterAutoConfiguration.java b/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AADAuthenticationFilterAutoConfiguration.java index <HASH>..<HASH> 100644 --- a/azure-spring-boot/src/mai...
removes unused import (#<I>)
Microsoft_azure-spring-boot
train
java
2210c554dacba6c5918ff87142f3ad845c549010
diff --git a/shared/teams/team/settings-tab/index.js b/shared/teams/team/settings-tab/index.js index <HASH>..<HASH> 100644 --- a/shared/teams/team/settings-tab/index.js +++ b/shared/teams/team/settings-tab/index.js @@ -76,7 +76,9 @@ const SetMemberShowcase = (props: SettingProps) => ( <Text type="BodySmall"> ...
prompt implicit admins who have not joined yet (#<I>)
keybase_client
train
js
b2fa759ea384be213d24981ca9f2d0e2a9c7a364
diff --git a/Classes/Command/DocumentationCommandController.php b/Classes/Command/DocumentationCommandController.php index <HASH>..<HASH> 100644 --- a/Classes/Command/DocumentationCommandController.php +++ b/Classes/Command/DocumentationCommandController.php @@ -62,7 +62,7 @@ class DocumentationCommandController extend...
[BUGFIX] Direct echo of XSD to avoid console formatting
TYPO3-Console_TYPO3-Console
train
php
588d31d03b3010d6e3dad999b30e23c614d1a8f9
diff --git a/lib/jsduck/options.rb b/lib/jsduck/options.rb index <HASH>..<HASH> 100644 --- a/lib/jsduck/options.rb +++ b/lib/jsduck/options.rb @@ -137,6 +137,7 @@ module JsDuck # enable all warnings except :link_auto Logger.set_warning(:all, true) Logger.set_warning(:link_auto, false) + Logger...
Disable the param_count warning by default.
senchalabs_jsduck
train
rb
0ce041cd3814c8d00948681d7a69393ca7b16bb3
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -48,6 +48,7 @@ options = options || {}; var makeApiCall = require('./internal/make-api-call').inject(options); + var deprecate = require('util').deprecate; var makeApiMethod = function(apiConfig) ...
Mark places radar search as deprecated.
googlemaps_google-maps-services-js
train
js
773a636949dbfa9186c27aa0626be6a274b0e573
diff --git a/tests/compiler_test.js b/tests/compiler_test.js index <HASH>..<HASH> 100644 --- a/tests/compiler_test.js +++ b/tests/compiler_test.js @@ -131,4 +131,21 @@ exports.test_lda_indy = function(test){ var code = compiler.semantic(ast); test.deepEqual(code, [0xb1, 0x20]); test.done(); -}; \ No newl...
added a test_invalid_token on compiler_test
gutomaia_nodeNES
train
js
3081f2845862f589b2dab8a3a1b5650a7b42854c
diff --git a/pymatgen/apps/borg/tests/test_hive.py b/pymatgen/apps/borg/tests/test_hive.py index <HASH>..<HASH> 100644 --- a/pymatgen/apps/borg/tests/test_hive.py +++ b/pymatgen/apps/borg/tests/test_hive.py @@ -52,7 +52,7 @@ class VaspToComputedEntryDroneTest(unittest.TestCase): self.assertAlmostEqual(entr...
Remove hisotry test. If people do not want to implement tests properly, the BDFL will unilaterally remove these changes.
materialsproject_pymatgen
train
py
979fc0d69857d736c82dc8a3afea224e0199a39b
diff --git a/library/src/main/java/com/mikepenz/materialdrawer/adapter/BaseDrawerAdapter.java b/library/src/main/java/com/mikepenz/materialdrawer/adapter/BaseDrawerAdapter.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/com/mikepenz/materialdrawer/adapter/BaseDrawerAdapter.java +++ b/library/src/main/java/...
* fix selection not removed if items were removed
mikepenz_MaterialDrawer
train
java
30c1a6069aa56ef5eeba4c4116efc2f8a8526ab9
diff --git a/gcs/gcstesting/bucket_tests.go b/gcs/gcstesting/bucket_tests.go index <HASH>..<HASH> 100644 --- a/gcs/gcstesting/bucket_tests.go +++ b/gcs/gcstesting/bucket_tests.go @@ -76,8 +76,8 @@ type bucketTest struct { var _ bucketTestSetUpInterface = &bucketTest{} func (t *bucketTest) setUpBucketTest(deps Bucke...
Oops, export bucket and clock fields.
jacobsa_gcloud
train
go,go
8b2053d3489d746ae0e7cbd52356fa8996c57c7d
diff --git a/src/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java b/src/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java index <HASH>..<HASH> 100644 --- a/src/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java +++ b/src/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.ja...
<I>: javadoc OutOfMemory error results in several jdk8 tl nightly failures Reviewed-by: ksrini
wmdietl_jsr308-langtools
train
java
fe454332704fcca0488e40822f446ef5b007e56f
diff --git a/spec/js_serializer_spec.rb b/spec/js_serializer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/js_serializer_spec.rb +++ b/spec/js_serializer_spec.rb @@ -50,10 +50,6 @@ describe JsDuck::Js::Serializer do test("var foo, bar = 5;") end - it "variable declaration with let" do - test("let...
Eliminate test for let expression. That's not supported by RKelly, and really not needed in practice.
senchalabs_jsduck
train
rb
759d06180b98af8b8bf0fe0a01ecc65f633130fa
diff --git a/pymbar/__init__.py b/pymbar/__init__.py index <HASH>..<HASH> 100644 --- a/pymbar/__init__.py +++ b/pymbar/__init__.py @@ -31,10 +31,19 @@ __license__ = "LGPL" __maintainer__ = "Michael R. Shirts and John D. Chodera" __email__ = "michael.shirts@virginia.edu,choderaj@mskcc.org" -from pymbar import timese...
Attempted workaround for version travis conda issue.
choderalab_pymbar
train
py
413957fa59ad5f88b5bba0a3a70b3786c8cb2002
diff --git a/apns2/client.py b/apns2/client.py index <HASH>..<HASH> 100644 --- a/apns2/client.py +++ b/apns2/client.py @@ -22,7 +22,7 @@ class APNsClient(object): self.__connection = HTTP20Connection(server, port, ssl_context=ssl_context) def send_notification(self, token_hex, notification, priority=Not...
Update client.py according to PEP8
Pr0Ger_PyAPNs2
train
py
278183c7e727f875fb2eae8ceba29bfd4b01afc2
diff --git a/eth/backend.go b/eth/backend.go index <HASH>..<HASH> 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -449,14 +449,10 @@ func (s *Ethereum) Start() error { ClientString: s.net.Name, ProtocolVersion: ProtocolVersion, }) - - if s.net.MaxPeers > 0 { - err := s.net.Start() - if err != nil { - ...
eth, p2p: start the p2p server even if maxpeers == 0
ethereum_go-ethereum
train
go,go
aba8f58575818be8765fb0ff90eb85282f15c0c4
diff --git a/tohu/generators_NEW.py b/tohu/generators_NEW.py index <HASH>..<HASH> 100644 --- a/tohu/generators_NEW.py +++ b/tohu/generators_NEW.py @@ -175,8 +175,13 @@ class SelectOne(TohuUltraBaseGenerator): return cur_values[idx] def reset(self, seed): + logger.debug(f"Ignoring explicit reset()...
Make SelectOne a proper derived generator
maxalbert_tohu
train
py
b0bca269244d5e5e17a9a8fede49e881bc0db8d9
diff --git a/num2words/lang_ES_CO.py b/num2words/lang_ES_CO.py index <HASH>..<HASH> 100644 --- a/num2words/lang_ES_CO.py +++ b/num2words/lang_ES_CO.py @@ -20,7 +20,7 @@ from __future__ import unicode_literals, print_function from .lang_EU import Num2Word_EU -class Num2Word_ES(Num2Word_EU): +class Num2Word_ES_CO(Nu...
[IMP]Adds new files for ES_CO and ES_VE.
savoirfairelinux_num2words
train
py,py
e5b834921c539ca4472e36dd969d6746b4de218d
diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -1523,7 +1523,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Ru...
IntelliJ complains about this. Not sure if it's a real problem
jenkinsci_jenkins
train
java
7519a98ecc30608ea838326bd39b0fd2f5b10445
diff --git a/test/consumer.py b/test/consumer.py index <HASH>..<HASH> 100644 --- a/test/consumer.py +++ b/test/consumer.py @@ -73,7 +73,7 @@ class TestFetcher(object): response = associate(body, self.assoc_secret, self.assoc_handle) self.num_assocs += 1 return self.response(url, r...
[project @ M-x whitespace-cleanup]
openid_python-openid
train
py
66c51f2016ba72033939edffbf910362edd036f1
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -27,6 +27,10 @@ export class RangePool { for (const worker of this.workers) { if (!worker.hasCompleted()) { + if (!worker.isActive()) { + return worker.activate() + } + ...
:new: Use existing non-finished workers if available This way we won't be creating gaps in the pool and will be completing the work in it's entirety
steelbrain_range-pool
train
js
d3eaeec13d5e286bb02ae92ca7ef8a7c7e8d1cdb
diff --git a/bin/svgfont2svgicons.js b/bin/svgfont2svgicons.js index <HASH>..<HASH> 100755 --- a/bin/svgfont2svgicons.js +++ b/bin/svgfont2svgicons.js @@ -7,6 +7,7 @@ var svgfont2svgicons = require(__dirname + '/../src/index.js') var fontStream = Fs.createReadStream(process.argv[2]); var iconProvider = svgfont2svgi...
Taking in count unamed icons
nfroidure_svgfont2svgicons
train
js
6933e50c150f7db1622afc425c466591bf4d1afb
diff --git a/lib/plugins/static.js b/lib/plugins/static.js index <HASH>..<HASH> 100644 --- a/lib/plugins/static.js +++ b/lib/plugins/static.js @@ -35,7 +35,7 @@ function serveStatic(opts) { req.path())); return; } else if (!stats.isFile()) { - next(new ResourceNotFoundE...
#<I> - serveStatic does not append
restify_plugins
train
js
80d0489d96729e3ef8bdc27d5cba11af0b6d49a8
diff --git a/tests/test_request.py b/tests/test_request.py index <HASH>..<HASH> 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -93,7 +93,7 @@ def server_thread(server): request = server.get_request() server.process_request(*request) server.server_close() - server.socket.close() + ...
test - More time for the client to fetch the data returned
DinoTools_python-overpy
train
py
426f687c5da51110ab14abdb0bae24fcb3d12eff
diff --git a/lib/class.OS_Linux.php b/lib/class.OS_Linux.php index <HASH>..<HASH> 100644 --- a/lib/class.OS_Linux.php +++ b/lib/class.OS_Linux.php @@ -455,7 +455,7 @@ class OS_Linux extends OS_Unix_Common { $return = array(); // hddtemp? - if (array_key_exists('hddtemp', (array)$this->settings['temps']) && !em...
Adding array index checks In test suite, config details are missing for hddtemp/mbmon in the test config, which caused phpunit to spit invalid index errors. This is now safeguarded against using isset()'s
jrgp_linfo
train
php
e85ab25b1f1cf04ad1764d47e884be4f3873c072
diff --git a/lib/ooor/errors.rb b/lib/ooor/errors.rb index <HASH>..<HASH> 100644 --- a/lib/ooor/errors.rb +++ b/lib/ooor/errors.rb @@ -25,6 +25,8 @@ module Ooor return ValueError.new(method, faultCode, faultString, *args) elsif faultCode =~ /ValidateError/ return ValidationError.new(method, fau...
properly generates UnAuthorizedError
akretion_ooor
train
rb
90c3c9a156509257d9c6b1b40e6db1da08cb08eb
diff --git a/db/sql.php b/db/sql.php index <HASH>..<HASH> 100644 --- a/db/sql.php +++ b/db/sql.php @@ -302,9 +302,8 @@ class SQL extends \PDO { // This requires SUPER privilege! $rows=array(); foreach ($this->exec($val[0],NULL,$ttl) as $row) { - $field=trim($row[$val[1]],'\'"[]`'); - if (!$fields...
Revert to prior schema detection (Issue #<I>)
bcosca_fatfree-core
train
php
2bb85240f3d781b009129d950287fab0b95a92b1
diff --git a/smart_selects/views.py b/smart_selects/views.py index <HASH>..<HASH> 100644 --- a/smart_selects/views.py +++ b/smart_selects/views.py @@ -1,5 +1,6 @@ from django.http import HttpResponse from django.db.models import Q +from django.utils.six import iteritems try: from django.apps import apps @@ -4...
Fix python 3 compatibility issue Using iteritems() to iterate dicts isn't supported by Python 3. Applied a solution that supports both Python 2 and 3.
digi604_django-smart-selects
train
py
43b77462b5019fedd13e39f0f9a23579cf3bf219
diff --git a/molgenis-api-tests/src/test/java/org/molgenis/api/tests/rest/v2/RestControllerV2IT.java b/molgenis-api-tests/src/test/java/org/molgenis/api/tests/rest/v2/RestControllerV2IT.java index <HASH>..<HASH> 100644 --- a/molgenis-api-tests/src/test/java/org/molgenis/api/tests/rest/v2/RestControllerV2IT.java +++ b/m...
Use distinct query to prevent test users to interfere with the aggregate result
molgenis_molgenis
train
java
4f70193055e2db6ba393748ec1a1820b23ab0233
diff --git a/src/tests/org/owasp/html/AntiSamyTest.java b/src/tests/org/owasp/html/AntiSamyTest.java index <HASH>..<HASH> 100644 --- a/src/tests/org/owasp/html/AntiSamyTest.java +++ b/src/tests/org/owasp/html/AntiSamyTest.java @@ -49,7 +49,7 @@ import junit.framework.TestSuite; public class AntiSamyTest extends TestCa...
re-enable internet tests inherited from AntiSamy
OWASP_java-html-sanitizer
train
java
de917684f4913592e7c43feff20fa3fa6b0e52be
diff --git a/pyemma/msm/tests/test_bayesian_hmsm.py b/pyemma/msm/tests/test_bayesian_hmsm.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/tests/test_bayesian_hmsm.py +++ b/pyemma/msm/tests/test_bayesian_hmsm.py @@ -320,5 +320,19 @@ class TestBHMMSpecialCases(unittest.TestCase): assert strajs[0][0] == 2 ...
[TestBHMMSpecialCases] added test for initialized bhmm
markovmodel_PyEMMA
train
py
5d1671bb9bf53a61f5c8db8a00f8c62adcf33e81
diff --git a/integration_tests/root_test.go b/integration_tests/root_test.go index <HASH>..<HASH> 100644 --- a/integration_tests/root_test.go +++ b/integration_tests/root_test.go @@ -3,12 +3,17 @@ package wl_integration_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + "github.com/robdimsdale/w...
Reduce flakiness in root test. [#<I>]
robdimsdale_wl
train
go
15c2c4dd23f4140bc579d660b9396722cbc4694a
diff --git a/tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php b/tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php index <HASH>..<HASH> 100644 --- a/tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php +++ b/tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php @@ -548,9 +548,9 @@ class EntityGeneratorTest...
Updated EntityGeneratorTest::testEntityTypeAlias
doctrine_orm
train
php
f8b5083348621444c5bb48ae1c1c9381785d722a
diff --git a/lib/deployml/project.rb b/lib/deployml/project.rb index <HASH>..<HASH> 100644 --- a/lib/deployml/project.rb +++ b/lib/deployml/project.rb @@ -159,13 +159,15 @@ module DeploYML end def load_server! - unless Servers.has_key?(@config.server_name) - raise(InvalidConfig,"Unknown Server #...
Only load the Server module if a server was defined in deploy.yml.
postmodern_deployml
train
rb
c7155f41c2eaa29ac3183878d4318d0c1a713c70
diff --git a/module/base/src/cache.js b/module/base/src/cache.js index <HASH>..<HASH> 100644 --- a/module/base/src/cache.js +++ b/module/base/src/cache.js @@ -7,7 +7,7 @@ const { execSync } = require('child_process'); const appCore = require('./_app-core'); function isOlder(cacheStat, fullStat) { - return cacheSta...
No longer consider access time for staleness, only mtime and ctime
travetto_travetto
train
js
00adaf9c2fe59bcf2321cd47972939a95c90b9e2
diff --git a/buildbot/slave/commands.py b/buildbot/slave/commands.py index <HASH>..<HASH> 100644 --- a/buildbot/slave/commands.py +++ b/buildbot/slave/commands.py @@ -196,6 +196,7 @@ class LogFileWatcher: return # no file to work with self.f = open(self.logfile, "rb") self.sta...
Seek to current file position to clear EOF status on Mac OS X. Mac OS X and Linux differ in behaviour when reading from a file that has previously reached EOF. On Linux, any new data that has been appended to the file will be returned. On Mac OS X, the empty string will always be returned. Seeking to the current po...
buildbot_buildbot
train
py
ee7f2f440030cc1034fea47df5022d2de0617ed1
diff --git a/src/Adapters/PostgreSQL.php b/src/Adapters/PostgreSQL.php index <HASH>..<HASH> 100644 --- a/src/Adapters/PostgreSQL.php +++ b/src/Adapters/PostgreSQL.php @@ -19,6 +19,31 @@ class PostgreSQL extends SQL { return $this->client->exec("TRUNCATE TABLE $this->table") !== false; } + + /*...
Postgres set on conflict update Since version <I> postgres (<I> latest) has on conflict update set syntax. This syntax avoids lots of error record in postgres logs (duplicate key error). <URL>
matthiasmullie_scrapbook
train
php
2ae80fce0979dc7790e955fa812df8456d504b68
diff --git a/qualysapi/config.py b/qualysapi/config.py index <HASH>..<HASH> 100644 --- a/qualysapi/config.py +++ b/qualysapi/config.py @@ -86,17 +86,17 @@ class QualysConnectConfig: self.max_retries = int(self.max_retries) #Get template ID... user will need to set this to pull back CSV reports - ...
changed section on VulnWhisperer functions
paragbaxi_qualysapi
train
py
7455f7d65dc0f74049995af7db98c8b29a6fbd41
diff --git a/test/functional/ft_5_on_error.rb b/test/functional/ft_5_on_error.rb index <HASH>..<HASH> 100644 --- a/test/functional/ft_5_on_error.rb +++ b/test/functional/ft_5_on_error.rb @@ -127,5 +127,30 @@ class FtOnErrorTest < Test::Unit::TestCase assert_trace(pdef, 'failed.') end + + def test_with_concur...
added test about concurrence :on_error => 'x'
jmettraux_ruote
train
rb
2a057f0aca5705649f9dd7b668ad6d96a9a6ca45
diff --git a/includes/functions-html.php b/includes/functions-html.php index <HASH>..<HASH> 100644 --- a/includes/functions-html.php +++ b/includes/functions-html.php @@ -564,7 +564,7 @@ function yourls_table_add_row( $keyword, $url, $title = '', $ip, $clicks, $times 'onclick' => "remove_link('$id');return false;",...
Extend filter-hook "table_add_row_action_array" Closes #<I>
YOURLS_YOURLS
train
php
1a807e585d79bc01eeeaffd4bdd24b96f129f743
diff --git a/src/rez/build_process.py b/src/rez/build_process.py index <HASH>..<HASH> 100644 --- a/src/rez/build_process.py +++ b/src/rez/build_process.py @@ -291,6 +291,13 @@ class LocalSequentialBuildProcess(StandardBuildProcess): """A BuildProcess that sequentially builds the variants of the current packag...
+ Only reuse the context if the package.yaml hasn't changed.
nerdvegas_rez
train
py
a0fa04f618eb82583b5a25dbc322e32290db0b5c
diff --git a/src/application/shared/main.js b/src/application/shared/main.js index <HASH>..<HASH> 100644 --- a/src/application/shared/main.js +++ b/src/application/shared/main.js @@ -0,0 +1,19 @@ +// const jsToHtml = require("@chooie/js_to_html"); + +function createJsToHtmlPreprocessor(logger, basePath, args, config) {...
Log the content the preprocessor receives
chooie_karma-js_to_html-preprocessor
train
js
3b734b004ad49eec3cc144dc79f2cbd1742f1e90
diff --git a/packages/router5/modules/core/navigation.js b/packages/router5/modules/core/navigation.js index <HASH>..<HASH> 100644 --- a/packages/router5/modules/core/navigation.js +++ b/packages/router5/modules/core/navigation.js @@ -42,7 +42,7 @@ export default function withNavigation(router) { * Navigate to a ...
feat: add navigation option to skip transition
router5_router5
train
js
65e553abe09ca6914ef1b75dd7b0d24d2b291e75
diff --git a/blimpy/io/hdf_reader.py b/blimpy/io/hdf_reader.py index <HASH>..<HASH> 100644 --- a/blimpy/io/hdf_reader.py +++ b/blimpy/io/hdf_reader.py @@ -26,10 +26,12 @@ def examine_h5(h5): verblob = h5.attrs["VERSION"] else: oops("examine_h5: HDF5 VERSION attribute missing") - try: + if t...
Sometimes, the type(VERSION) = numpy.bytes_ This was observed in the data centre using pytest. When run interactively, the same file yielded a VERSION of type bytes. And, for some files, type(VERSION) = str.
UCBerkeleySETI_blimpy
train
py
61494180c3b723e8d95d2860dbf814e4f7c36763
diff --git a/generator/classes/propel/engine/builder/om/php5/PHP5BasicPeerBuilder.php b/generator/classes/propel/engine/builder/om/php5/PHP5BasicPeerBuilder.php index <HASH>..<HASH> 100644 --- a/generator/classes/propel/engine/builder/om/php5/PHP5BasicPeerBuilder.php +++ b/generator/classes/propel/engine/builder/om/php...
#<I> (from: synace). Improved substitution in alias() method.
propelorm_Propel
train
php
b12c637a6073e52b859b9258b6ad8486127db9bd
diff --git a/controller/extjs/tests/Controller/ExtJS/Coupon/DefaultTest.php b/controller/extjs/tests/Controller/ExtJS/Coupon/DefaultTest.php index <HASH>..<HASH> 100644 --- a/controller/extjs/tests/Controller/ExtJS/Coupon/DefaultTest.php +++ b/controller/extjs/tests/Controller/ExtJS/Coupon/DefaultTest.php @@ -60,7 +60,...
Fixes coupon ExtJS controller test
Arcavias_arcavias-core
train
php
271961ecb1b7eea779fb760c3c83aaa42418013d
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -2332,7 +2332,8 @@ class _FlowSpecPrefixBase(_FlowSpecComponentBase, IPAddrPrefix): def __init__(self, length, addr, type_=None): super(_FlowSpecPrefixBase, sel...
packet/bgp: Add the address converter for Flow Specification Argument "addr" of "_FlowSpecPrefixBase" must be specified in the network address. If argument "addr" specified in the host address, this patch converts the given address into the network address.
osrg_ryu
train
py
87436eecc72e5dc046e9de6fd5c5a1e8f7a91ba9
diff --git a/xmlnuke-php5/src/Xmlnuke/Util/CreatePhp5Project.php b/xmlnuke-php5/src/Xmlnuke/Util/CreatePhp5Project.php index <HASH>..<HASH> 100644 --- a/xmlnuke-php5/src/Xmlnuke/Util/CreatePhp5Project.php +++ b/xmlnuke-php5/src/Xmlnuke/Util/CreatePhp5Project.php @@ -294,6 +294,21 @@ class CreatePhp5Project unlink ...
Copy all dist files after composer update
byjg_xmlnuke
train
php
d44f7e46238a809d9f9561a24c691d93148a5b2d
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -170,6 +170,10 @@ module.exports = function(grunt) { files: ['**/yui/src/**/*.js'], tasks: ['yui'] }, + gherkinlint: { + files: ['**/test...
MDL-<I> behat: Add gherkin lint to watch and startup
moodle_moodle
train
js
3905263175b048e00f35a08fe005b96128c0e4a3
diff --git a/src/PeskyCMF/Scaffold/Form/ImagesFormInput.php b/src/PeskyCMF/Scaffold/Form/ImagesFormInput.php index <HASH>..<HASH> 100644 --- a/src/PeskyCMF/Scaffold/Form/ImagesFormInput.php +++ b/src/PeskyCMF/Scaffold/Form/ImagesFormInput.php @@ -89,7 +89,12 @@ class ImagesFormInput extends FormInput { $table ...
ImagesFormInput::doDefaultValueConversionByType() - added foreign key value for key-value table's record so it can be used in ImagesColumn to create path to files based on foreign key value
swayok_PeskyCMF
train
php
341071a0f54c0297e0af55cceb1df7b112676771
diff --git a/lib/fog/aws/models/ec2/server.rb b/lib/fog/aws/models/ec2/server.rb index <HASH>..<HASH> 100644 --- a/lib/fog/aws/models/ec2/server.rb +++ b/lib/fog/aws/models/ec2/server.rb @@ -12,7 +12,7 @@ module Fog attribute :group_id, 'groupId' attribute :image_id, 'imageId' ...
cleanup flavor handling for aws.servers, add ready?
fog_fog
train
rb
52d77a788f01ac8b88af9a1e07258b4a4d724d40
diff --git a/src/SearchControl.js b/src/SearchControl.js index <HASH>..<HASH> 100644 --- a/src/SearchControl.js +++ b/src/SearchControl.js @@ -398,9 +398,12 @@ export class SearchControl extends Control { * @private */ updateDropdown_ () { - let inputContainsDropdown = (this.features_.indexOf(this.selecte...
Hiding dropdown properly (#<I>)
KlausBenndorf_guide4you
train
js
ec0f767ab2a6e2744bcde82f8c08ca9da4847a13
diff --git a/penman/model.py b/penman/model.py index <HASH>..<HASH> 100644 --- a/penman/model.py +++ b/penman/model.py @@ -7,13 +7,25 @@ Semantic models for interpreting graphs. from penman import graph class Model(object): - def __init__(self, relations=None): - if not relations: - relations =...
Add Model.is_role_inverted() Also move some properties from the codec class.
goodmami_penman
train
py
8750841c588e8ab7a9ce02112bfa46794abcc982
diff --git a/tests/acceptance/steps/config_update.py b/tests/acceptance/steps/config_update.py index <HASH>..<HASH> 100644 --- a/tests/acceptance/steps/config_update.py +++ b/tests/acceptance/steps/config_update.py @@ -22,7 +22,7 @@ from .util import update_topic_config from kafka_utils.util.zookeeper import ZK -@...
updating @when in behave test from <I> to 0
Yelp_kafka-utils
train
py
2d8fe9b63d493e9adbf9da429ec1531b8b5ac9cb
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -265,10 +265,7 @@ class ReactInteractive extends React.Component { this.computeState(), this.p.props, // create dummy 'event' object that caused the state change, will be passed to onStateC...
Use dummy event creator for forceState event
rafrex_react-interactive
train
js
da0320cdaf6d88661b089d0558044c1932d36b05
diff --git a/core/Http.php b/core/Http.php index <HASH>..<HASH> 100644 --- a/core/Http.php +++ b/core/Http.php @@ -414,7 +414,7 @@ class Piwik_Http } else { - $response = @file_get_contents($aUrl, 0, $ctx); + $response = file_get_contents($aUrl, 0, $ctx); $fileLength = Piwik_Common::strlen($respo...
Removing silent fail to display errors when they occur eg. Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? which requires to uncomment from php.ini: ;extension=php_openssl.dll git-svn-id: <URL>
matomo-org_matomo
train
php
81ece9e53a8203307979117fe46a98ec1a512776
diff --git a/lib/stagehand/staging/commit_entry.rb b/lib/stagehand/staging/commit_entry.rb index <HASH>..<HASH> 100644 --- a/lib/stagehand/staging/commit_entry.rb +++ b/lib/stagehand/staging/commit_entry.rb @@ -32,7 +32,11 @@ module Stagehand end def record - @record ||= delete_operation? ? build...
Don't try to return a record if there is none.
culturecode_stagehand
train
rb
c404f40daa44ebd9f921992c1904980a5734caf7
diff --git a/lib/close_enough.rb b/lib/close_enough.rb index <HASH>..<HASH> 100644 --- a/lib/close_enough.rb +++ b/lib/close_enough.rb @@ -1,5 +1,5 @@ require 'damerau-levenshtein' -require 'close_enough/extensions' +require_relative 'close_enough/extensions' module CloseEnough diff --git a/spec/spec_helper.rb b/...
Comment out Coveralls until File::new is fixed.
ruby-jokes_close_enough
train
rb,rb
8d8edde171cbbaceec1868611c1872717da5c45e
diff --git a/lib/route.js b/lib/route.js index <HASH>..<HASH> 100644 --- a/lib/route.js +++ b/lib/route.js @@ -187,7 +187,7 @@ function Route(options) { this.name = options.name || false; this.url = options.url || options.path; - this.log = options.log.child({name: self.name}, true); + this.log = options.log....
minor change to bunyan logger in route.js
restify_plugins
train
js
1d57303c2b2b341b778f86f216d363de5ab1eeaa
diff --git a/test/libs/router.spec.js b/test/libs/router.spec.js index <HASH>..<HASH> 100644 --- a/test/libs/router.spec.js +++ b/test/libs/router.spec.js @@ -457,7 +457,7 @@ describe('Class Router', () => { }); - describe('_isFloat', () => { + describe('_isNumeric', () => { it('should check if passed value ...
test/libs/router.spec.js: correct describe description from _isFloat to _isNumber
SerkanSipahi_app-decorators
train
js
be2220feb73876f54af0fd339790f983be5b18f6
diff --git a/glue_vispy_viewers/volume/volume_visual.py b/glue_vispy_viewers/volume/volume_visual.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/volume/volume_visual.py +++ b/glue_vispy_viewers/volume/volume_visual.py @@ -38,6 +38,7 @@ from __future__ import absolute_import, division, print_function +from...
Fixed compatibility with older Numpy versions
glue-viz_glue-vispy-viewers
train
py
49277654674d4de4c141d44f97077087baa565a5
diff --git a/src/org/mozilla/javascript/ScriptRuntime.java b/src/org/mozilla/javascript/ScriptRuntime.java index <HASH>..<HASH> 100644 --- a/src/org/mozilla/javascript/ScriptRuntime.java +++ b/src/org/mozilla/javascript/ScriptRuntime.java @@ -1092,19 +1092,19 @@ public class ScriptRuntime { * See ECMA 10.1.4 ...
As the scope parameter for the bind and getBase methods should never be null, make sure they trigger NullPointerException on "scope == null" to detect bad API usage earlier.
mozilla_rhino
train
java
6bfae30cd6e9c28f4ccfa3e16476bc57546cfeff
diff --git a/detect_secrets/plugins/common/ini_file_parser.py b/detect_secrets/plugins/common/ini_file_parser.py index <HASH>..<HASH> 100644 --- a/detect_secrets/plugins/common/ini_file_parser.py +++ b/detect_secrets/plugins/common/ini_file_parser.py @@ -1,6 +1,9 @@ from __future__ import unicode_literals -import co...
:bug: Patch backports configparser too We previously patched configparser with `EfficientParsingError`, however this did not patch the backports version present on Python 2.
Yelp_detect-secrets
train
py
578b9e5a65b00470651346e923dbfb9db4da8a46
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -22,4 +22,4 @@ FS.open("zip.zip", "r", "0666", function(err, fd) { var readFromFileDescriptor = reader.toObject('utf-8'); console.log(readFromFileDescriptor); assert.deepEqual(readFromBuffer, readFromFileDescriptor,...
Add missing newline at end of file
kriskowal_zip
train
js
a7a7bb9cb8050d77cd948ce1a9205e7e35c23d0e
diff --git a/iotilecore/RELEASE.md b/iotilecore/RELEASE.md index <HASH>..<HASH> 100644 --- a/iotilecore/RELEASE.md +++ b/iotilecore/RELEASE.md @@ -2,9 +2,14 @@ All major changes in each released version of `iotile-core` are listed here. +## 4.0.1 + +- Actually drop python2 support + ## 4.0.0 - Drop python2 sup...
Fix the new major release version to actually enforce py3
iotile_coretools
train
md,py,py
497244b93e70ef02dbe52e651230675d79e9d2e9
diff --git a/src/errors.js b/src/errors.js index <HASH>..<HASH> 100644 --- a/src/errors.js +++ b/src/errors.js @@ -12,6 +12,7 @@ export class SassDocError extends Error { export class Warning extends SassDocError { constructor(message) { super(message); + this.message = message; // rm when native class supp...
Bring back property inheritance workaround - Introduced with the Babel <I>.* upgrade
SassDoc_sassdoc
train
js
d16c597850eb454caf99c13f286b13926414a452
diff --git a/Kwf/Assets/Provider/CssByJs.php b/Kwf/Assets/Provider/CssByJs.php index <HASH>..<HASH> 100644 --- a/Kwf/Assets/Provider/CssByJs.php +++ b/Kwf/Assets/Provider/CssByJs.php @@ -15,7 +15,7 @@ class Kwf_Assets_Provider_CssByJs extends Kwf_Assets_Provider_Abstract $fn = $dependency->getFileNameWithT...
don't just use type of path, use whole path to activate cssbyjs
koala-framework_koala-framework
train
php
8c00e9421becdafb332faeeb810221d53c620742
diff --git a/plugins/oauth/server/providers/base.py b/plugins/oauth/server/providers/base.py index <HASH>..<HASH> 100644 --- a/plugins/oauth/server/providers/base.py +++ b/plugins/oauth/server/providers/base.py @@ -111,8 +111,8 @@ class ProviderBase(model_importer.ModelImporter): resp.raise_for_status() ...
Fix a small security issue in OAuth This prevents possibly private information from leaking in an error message.
girder_girder
train
py
f17131afe4965fbde6ad5b6715e6e51759d41d6e
diff --git a/src/JmesPath/Parser.php b/src/JmesPath/Parser.php index <HASH>..<HASH> 100644 --- a/src/JmesPath/Parser.php +++ b/src/JmesPath/Parser.php @@ -397,18 +397,7 @@ class Parser private function parse_T_LBRACE(array $token) { $token = $this->match(array(Lexer::T_IDENTIFIER => true, Lexer::T_NU...
Removing simple token extraction from multi-select-hash because it is invalid
jmespath_jmespath.php
train
php